public static class Fanmod.FrequencyFilter extends Object implements Fanmod.MotifFilter
Constructor and Description |
---|
Fanmod.FrequencyFilter(double minFrequency) |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(int actualFrequency,
double expectedValue,
double standardDeviation)
Returns
true if the information on the subgraph's frequencies
indicate that it is a motif |
double |
getStatistic(int actualFrequency,
double expectedValue,
double standardDeviation)
Returns the value used by this filter to identify whether a subgraph
is a motif, which could be the Z-score, for example.
|
public boolean accepts(int actualFrequency, double expectedValue, double standardDeviation)
Fanmod.MotifFilter
true
if the information on the subgraph's frequencies
indicate that it is a motifaccepts
in interface Fanmod.MotifFilter
public double getStatistic(int actualFrequency, double expectedValue, double standardDeviation)
Fanmod.MotifFilter
getStatistic
in interface Fanmod.MotifFilter
Copyright © 2012. All Rights Reserved.