Package org.snpsift.caseControl
Class VariantCounter
java.lang.Object
org.snpsift.caseControl.VariantCounter
A counnter for genotypes
- Author:
- pcingola
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
getGenotype
(int idx) void
incGenotype
(int idx) void
incGenotype
(int idx, int value) void
parseGenotypes
(org.snpeff.vcf.VcfEntry ve) Update genotype countsvoid
setGenotype
(int idx, int value) toString()
-
Constructor Details
-
VariantCounter
public VariantCounter(int size)
-
-
Method Details
-
addEffect
-
countNonZeroGenotypes
public int countNonZeroGenotypes() -
getGenotype
public int getGenotype(int idx) -
incGenotype
public void incGenotype(int idx) -
incGenotype
public void incGenotype(int idx, int value) -
parseGenotypes
public void parseGenotypes(org.snpeff.vcf.VcfEntry ve) Update genotype counts- Parameters:
ve
-
-
setGenotype
public void setGenotype(int idx, int value) -
toString
-