Examples of higherThan()


Examples of fork.lib.math.algebra.elementary.set.continuous.Region.higherThan()

        String chr= chrs[i];
        ArrayList<Region> rs= gb.getRegionsForChromosome(chr);
        if(chr.equals("chr10")){
            for(int j=0; j<rs.size() ; j++){
                Region r= rs.get(j);
                if(r.higherThan(117000d)){
                    r.setLowHigh(r.low-310, r.high-310);
                    gbout.add((GenomicRegion)r);
                }else{
                    gbout.add((GenomicRegion)r);
                }
View Full Code Here

Examples of fork.lib.math.algebra.elementary.set.continuous.Region.higherThan()

        ArrayList<Region> ret= sortByLow(rs);
        for(int i=0;i<ret.size();i++){
            Region r1= ret.get(i);
            for(int j=i+1;j<ret.size();j++){
                Region r2= ret.get(j);
                if(r2.higherThan(r1)){
                    break;
                }
                if(r1.overlapsWith(r2)){
                    Region un= r1.getUnionRegion(r2);
                    ret.remove(j);
View Full Code Here

Examples of fork.lib.math.algebra.elementary.set.continuous.Region.higherThan()

        Region nr= nextRegion();
        if(nr==null){
            break;
        }
        //nr.printIntAfter("### "+ (int)r.low+"   "+ (int)r.high+"  ");
        if(nr.higherThan(r)){
            doRegionHigherThanTarget();
            break;
        }
        if(nr.overlapsWith(r)){
            blist.add(nr);
View Full Code Here

Examples of fork.lib.math.algebra.elementary.set.continuous.Region.higherThan()

        Region nr= nextRegion();
        if(nr==null){
            break;
        }
        //nr.printIntAfter("### "+ (int)r.low+"   "+ (int)r.high+"  ");
        if(nr.higherThan(r)){
            doRegionHigherThanTarget();
            break;
        }
        if(nr.overlapsWith(r)){
            blist.add(nr);
View Full Code Here

Examples of fork.lib.math.algebra.elementary.set.continuous.Region.higherThan()

*/
protected void join(ArrayList<Region> rs){
    for( int i=0; i<rs.size()-1; i++ ){
        Region r= (Region)rs.get(i);
        Region rn= (Region)rs.get(i+1);
        if(rn.higherThan(r)){
            double dis= rn.low-r.high;
            if(dis<=par.joinGap){
                try{
                    Region ovl= new Region(r.low, rn.high);
                    rs.set(i, ovl);
View Full Code Here

Examples of fork.lib.math.algebra.elementary.set.continuous.Region.higherThan()

*/
protected void join(ArrayList<Region> rs){
    for( int i=0; i<rs.size()-1; i++ ){
        Region r= (Region)rs.get(i);
        Region rn= (Region)rs.get(i+1);
        if(rn.higherThan(r)){
            double dis= rn.low-r.high;
            if(dis<=par.joinGap){
                try{
                    Region ovl= new Region(r.low, rn.high);
                    rs.set(i, ovl);
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.