Package common.inspect

Examples of common.inspect.GeneSet


            vs.add( vss[i][col] );
        }
        double thr= new Distribution(vs).quantileBoundaries(20).get(1);
        String thrs= new DecimalFormat("0.##E0").format(thr);
       
        sets.add(new GeneSet(tit+"_"+thrs+"_y"));
        sets.add(new GeneSet(tit+"_"+thrs+"_n"));
       
        for(int i=0; i<vss.length ; i++){
            double v= vss[i][col];
            String id= ids[i];
            if(v<thr){
View Full Code Here


public static void main(String[] args) throws Exception{ //debug
    File dir= Dirs.getFile("dir");
    Harbison2004 hh= new Harbison2004(new File(dir+"/other_datasets/harbison_2004/pvalbygene_forpaper_abbr.txt"));

    GeneSet set= hh.getClassifierForTF("xbp1").geneSets().get(0);
    Print.collection(set);
   
}
View Full Code Here

        this.col=col;
        init();
    }
   
    public void init() throws Exception{
        sets.add(new GeneSet(tit+"_y"));
        sets.add(new GeneSet(tit+"_n"));
        for(int i=0; i<vss.length ; i++){
            double v= vss[i][col];
            String id= ids[i];
            if(v<0.001){
                sets.get(0).add(id);
View Full Code Here

TOP

Related Classes of common.inspect.GeneSet

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.