trans.anno
Class IntersectKeyWithRegions
java.lang.Object
trans.anno.IntersectKeyWithRegions
- public class IntersectKeyWithRegions
- extends java.lang.Object
Takes a key from a spike in experiment and sorted lists of regions to calculate TPR, FPR, and FDR for every threshold
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntersectKeyWithRegions
public IntersectKeyWithRegions(java.lang.String[] args)
calculateAndPrintStats
public void calculateAndPrintStats(Region[] r)
intersectsKey
public int intersectsKey(Region region)
- Returns 1 if bpInt <= maxGap and the particular key hasn't been hit, 0 not in key, -1 hits a key that
has already been counted.
parseRegionFiles
public void parseRegionFiles()
main
public static void main(java.lang.String[] args)
processArgs
public void processArgs(java.lang.String[] args)
- This method will process each argument and assign new varibles
printDocs
public static void printDocs()