|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrans.roc.RocWindowScanner
Scans a window array over a range of thresholds and intersects with a list of positives to generate the false positive rate, true positive rate, and false discovery rates.
Constructor Summary | |
RocWindowScanner(java.lang.String[] args)
|
Method Summary | |
double |
calcFDR(double threshold)
Scans an array of Window intersecting with positives to calculate an FDR at a given threshold. |
void |
calculateTotalWindowIntersectionStats()
Calculate total # windows that intersect pos regions, no counting, ie one window overlaps two pos regions is counted once. |
double[] |
findStartStopThresholds(double startThreshold,
double stopThreshold)
|
double |
findTargetFDRThreshold(double fdrTarget,
int maxCycles)
Attempts to find a threshold that gives the target FDR, will run through maxCycles and return closest threshold if targetFDR is not reached. |
static void |
main(java.lang.String[] args)
|
static void |
printDocs()
|
void |
processArgs(java.lang.String[] args)
This method will process each argument and assign new varibles |
void |
removeMaskedRegions()
Remove windows that intersect the masked regions. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RocWindowScanner(java.lang.String[] args)
Method Detail |
public static void main(java.lang.String[] args)
public void calculateTotalWindowIntersectionStats()
public void removeMaskedRegions()
public double calcFDR(double threshold)
public double findTargetFDRThreshold(double fdrTarget, int maxCycles)
public double[] findStartStopThresholds(double startThreshold, double stopThreshold)
public void processArgs(java.lang.String[] args)
public static void printDocs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |