Examples of param()


Examples of fork.lib.bio.anno.genomic.BedExporter.param()

        protected String column6On(GenomicRegion gr){
            Object[] os= (Object[])gr.attr;
            return (Double)os[1]+"\t"+ (Double)os[2];
        }
    };
    be.param().ifExpanded= true;
    be.writeToFile(out);
}


View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.param()

        }
    }
   
   
    BedGraphExporter be =new BedGraphExporter(lb);
    be.param().tit= FileName.getBaseName(out);
    be.writeToFile(out);
}
   
   
}
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.param()

   
    Distribution dnz= lb.getDistributionNonZero();
    double nf= dnz.sum()/ 100000000;
    new LandscapeTransformer(lb).divideBy(nf);
    BedGraphExporter be= new BedGraphExporter(lb);
    be.param().tit= tit;
    be.writeToFile(f);
}
   
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.param()

}

protected void write(ArrayList<String> ids, ArrayList<Double> vs, File f,String std, String tag)throws Exception{
    ProbeMapperStrand pp= new ProbeMapperStrand(anno, probe, std);
    BedGraphExporter be= new BedGraphExporter(pp.toLandscapeBuilder(ids, vs));
    be.param().tit= tag+"_"+std;
    be.writeToFile(f);
}


View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.param()

        }
    }
   
   
    BedGraphExporter be =new BedGraphExporter(lb);
    be.param().tit= FileName.getBaseName(out);
    be.writeToFile(out);
}
   
   
}
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.param()

            }
        }
    }
   
    BedGraphExporter be= new BedGraphExporter(lbout);
    be.param().tit= FileName.getBaseName(out);
    be.writeToFile(out);
}
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.param()

                    }
                }
            }
        }
    };
    be.param().tit= tit;
    be.writeToFile(of);
}
   

public static void toRatio(File f, File ref, File out) throws Exception{
View Full Code Here

Examples of fork.lib.bio.anno.genomic.PeakIdentifier.param()

    }
   
   
public void writeToFile(File out)throws Exception {
    PeakIdentifier pi= new PeakIdentifier(lb, null);
    pi.param().joinGap=150;
    GenomicRegionsBuilder gb= pi.getPeaks();
    new BedExporter(gb).writeToFile(out);
}
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.region.GenomicRegionsMerger.param()

    File d= new File(dir+"/data/human_magnus/h2az/macs");
    File od= new File(d+"/merge");
    File out= new File(od+"/merge.bed");
   
    GenomicRegionsMerger mer= new GenomicRegionsMerger();
    mer.param().gap= 1000;
    File[] fs= d.listFiles();
    for( int i=0; i<fs.length; i++ ){
        File f= fs[i];
        if(FileName.getExt(f).equals("bed") && !f.getName().equals(out.getName()) ){
            System.out.println(f);
View Full Code Here

Examples of fork.lib.bio.anno.genomic.region.GenomicRegionsMerger.param()

    File dir= Dirs.getFile("dir");
    File d= new File(dir+"/data/human_magnus/h2az/norm/peak/novel");
    File out= new File(d+"/merge.bed");
   
    GenomicRegionsMerger mer= new GenomicRegionsMerger();
    mer.param().gap= 1000;
    File[] fs= d.listFiles();
    for( int i=0; i<fs.length; i++ ){
        File f= fs[i];
        if(FileName.getExt(f).equals("bed") && !f.getName().equals(out.getName()) ){
            System.out.println(f);
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.