Package edu.msu.cme.rdp.multicompare.taxon

Examples of edu.msu.cme.rdp.multicompare.taxon.MCTaxon.incCount()


             result.addSampleList(curSampleList);
        }
        MCTaxon curTaxon = (MCTaxon)(result.getRoot().getRootTaxonHodler().getTaxon());
        // add counts
        for ( int i = offset; i< values.length; i++){
            curTaxon.incCount(curSampleList.get(i-offset), Double.parseDouble(values[i]));
        }
       
        for ( int ln = 2; ln < oneHierBlock.size(); ln++){
            values = oneHierBlock.get(ln);
            int taxid = Integer.parseInt(values[0]);
View Full Code Here


                result.getRoot().addChild(curTaxon, parentTaxon.getTaxon().getTaxid());
                curTaxon.setLineage(values[1]);
            }
            // add counts
            for ( int i = offset; i< values.length; i++){
                curTaxon.incCount(curSampleList.get(i-offset), Double.parseDouble(values[i]));
            }
        }

    }
   
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.