CanvasDiploidCaller.CanvasDiploidCaller.AggregateCounts C# (CSharp) Метод

AggregateCounts() публичный статический Метод

public static AggregateCounts ( List &segments ) : float[]
segments List
Результат float[]
        public static float[] AggregateCounts(ref List<CanvasSegment> segments)
        {
            List<float> diploidCounts = new List<float>();

            foreach (CanvasSegment segment in segments)
            {
                foreach (float count in segment.Counts)
                    diploidCounts.Add(count);
            }
            return diploidCounts.ToArray();
        }