src/Statistic/FalseDiscoveryRate.php
public function getScore($targetRate)
    {
        $score = 0;
        foreach ($this->falseDiscoveryRates as $falseDiscoryRate) {
            if ($falseDiscoryRate['FDR'] < $targetRate) {
                $score = $falseDiscoryRate['score'];

                continue;
            }

            break;
        }

        return $score;
    }
public function getScore($targetRate)
    {
        $score = 0;
        foreach ($this->falseDiscoveryRates as $falseDiscoryRate) {
            if ($falseDiscoryRate['FDR'] < $targetRate) {
                $score = $falseDiscoryRate['score'];

                continue;
            }

            break;
        }

        return $score;
    }
public function getScore ( $ targetRate ) { $ score = 0 ; foreach ( $ this -> falseDiscoveryRates as $ falseDiscoryRate ) { if ( $ falseDiscoryRate [ 'FDR' ] < $ targetRate ) { $ score = $ falseDiscoryRate [ 'score' ] ; continue ; } break ; } return $ score ; }
Gets the score that corresponds to the target FDR

@param float $targetRate
Gets the score that corresponds to the target FDR