Package org.snpeff.stats
Class PosStats
java.lang.Object
org.snpeff.stats.ChrPosStats
org.snpeff.stats.PosStats
How many changes per position do we have in a chromosome.
Summary by dividing the chromosome into MAX_BINS bins
- Author:
- pcingola
-
Field Summary
FieldsFields inherited from class org.snpeff.stats.ChrPosStats
debug
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.snpeff.stats.ChrPosStats
getCount, getTotal, posArray, sample, toString, toStringHistoPlot
-
Field Details
-
DEFAULT_BINS
public static final int DEFAULT_BINS- See Also:
-
-
Constructor Details
-
PosStats
public PosStats() -
PosStats
-
PosStats
-
-
Method Details
-
rand
public void rand(int maxLen, int countMax) Create random counts (used for debugging)- Parameters:
maxLen
-countMax
-
-
sample
Use 'num' as a sample -
size
public int size()- Overrides:
size
in classChrPosStats
-