Examples of totalArea()


Examples of fork.lib.bio.anno.genomic.LandscapeBuilder.totalArea()

public static void removeShortAndNorm(File outSub, File outNorm)throws Exception {
    LandscapeBuilder lb= new BedGraphReader(outSub).getLandscapeBuilder();
    LandscapeTransformer lt= new LandscapeTransformer(lb);
    lt.selectLength(300, Integer.MAX_VALUE);
    double sum= lb.totalArea();
    double fac= sum/Math.pow(10, 8);
    lt.divideBy( fac );
    new BedGraphExporter(lb).writeToFile(outNorm);
}
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.LandscapeBuilder.totalArea()

public void removeShort()throws Exception {
    LandscapeBuilder lb= new BedGraphReader(outSub2).getLandscapeBuilder();
    LandscapeTransformer lt= new LandscapeTransformer(lb);
    lt.selectLength(150, Integer.MAX_VALUE);
    double sum= lb.totalArea();
    double fac= sum/Math.pow(10, 8);
    lt.divideBy( fac );
    new BedGraphExporter(lb).writeToFile(out);
}
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.