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.MotifFiltertrue if the information on the subgraph's frequencies
indicate that it is a motifaccepts in interface Fanmod.MotifFilterpublic double getStatistic(int actualFrequency,
double expectedValue,
double standardDeviation)
Fanmod.MotifFiltergetStatistic in interface Fanmod.MotifFilterCopyright © 2012. All Rights Reserved.