Package org.broad.igv.util.collections

Examples of org.broad.igv.util.collections.DoubleArrayList.toArray()


                } else {

                    int cnt = typeCounts.get(type) == null ? valueList.size() : typeCounts.get(type) + valueList.size();
                    typeCounts.put(type, cnt);

                    double[] vs = valueList.toArray();
                    value = StatUtils.mean(vs);
                }
                data[i] = value;

            }
View Full Code Here


        scales.put(SignalField.Signal, new Range(sMin, sMax));

        double[] q = qvalues.toArray();
        scales.put(SignalField.QValue, new Range(0, StatUtils.percentile(q, 90)));

        double[] p = pvalues.toArray();
        scales.put(SignalField.PValue, new Range(0, StatUtils.percentile(p, 90)));

    }

View Full Code Here

            vlist.add(value);
        }

        public double[] getValues(TrackType tt) {
            DoubleArrayList dal = valueMap.get(tt);
            return dal == null ? null : dal.toArray();
        }
    }

    public static class ExportFileListener implements GeneListManagerUI.GeneListListener{
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.