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

            break;
        }

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

            break;
        }

        return $matches;
    }
public function getMatches ( $ targetRate ) { $ matches = 0 ; foreach ( $ this -> falseDiscoveryRates as $ falseDiscoryRate ) { if ( $ falseDiscoryRate [ 'FDR' ] <= $ targetRate ) { $ matches ++ ; continue ; } break ; } return $ matches ; }
Gets the number of matches for the target FDR

@param float $targetRate
Gets the number of matches for the target FDR