Package fork.lib.math.applied.buffer

Examples of fork.lib.math.applied.buffer.RegionBuffer


        LandscapeBuilder lbout= new LandscapeBuilder();
        String chr= chrs[i];
        System.out.print(chr+"  ");
        ArrayList<Region> frs= lbf.getLandscape2DForChromosome(chr).getRegions();
        ArrayList<Region> irs= lbi.getLandscape2DForChromosome(chr).getRegions();
        RegionBuffer buf= new RegionBuffer(irs);
        for( int j=0; j<frs.size(); j++ ){
            Region fr= frs.get(j);
            ArrayList<Region> bufrs= buf.reloadAndGetList(fr);
            double ival= RegionBuffer.getOverlap(bufrs, fr) / (fr.getRange()+1);
            double fval= (double)fr.attribute();
            double nv= fval - ival*rat;
           
            //System.out.println(fval+"    "+ ival+"   "+ fr.getRange());
View Full Code Here

TOP

Related Classes of fork.lib.math.applied.buffer.RegionBuffer

Copyright © 2018 www.massapicom. 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.