public class MaskMatrixBuilder extends Object
Modifier and Type | Method and Description |
---|---|
MaskMatrix |
build() |
boolean |
get(int taxon,
int site) |
static MaskMatrix |
getInstance(GenotypeCallTable genotype,
BiPredicate<Byte,Stats> predicate) |
static MaskMatrix |
getInstance(GenotypeCallTable genotype,
Predicate<Byte> predicate) |
static MaskMatrixBuilder |
getInstance(int numTaxa,
int numSites,
boolean isSiteOptimized) |
static MaskMatrixBuilder |
getInstance(MaskMatrix orig) |
static MaskMatrix |
getInstanceRemoveHeterozygous(GenotypeCallTable genotype) |
static MaskMatrix |
getInstanceRemoveHomozygous(GenotypeCallTable genotype) |
static MaskMatrix |
getInstanceRemoveIndels(GenotypeCallTable genotype) |
static MaskMatrix |
getInstanceRemoveMinorSNPs(GenotypeCallTable genotype) |
long |
reduceMaskTo(double percent) |
void |
set(int taxon,
int site) |
void |
setNext(boolean value) |
public static MaskMatrixBuilder getInstance(int numTaxa, int numSites, boolean isSiteOptimized)
public static MaskMatrixBuilder getInstance(MaskMatrix orig)
public static MaskMatrix getInstanceRemoveMinorSNPs(GenotypeCallTable genotype)
public static MaskMatrix getInstanceRemoveHeterozygous(GenotypeCallTable genotype)
public static MaskMatrix getInstanceRemoveHomozygous(GenotypeCallTable genotype)
public static MaskMatrix getInstanceRemoveIndels(GenotypeCallTable genotype)
public static MaskMatrix getInstance(GenotypeCallTable genotype, Predicate<Byte> predicate)
public static MaskMatrix getInstance(GenotypeCallTable genotype, BiPredicate<Byte,Stats> predicate)
public boolean get(int taxon, int site)
public void set(int taxon, int site)
public void setNext(boolean value)
public long reduceMaskTo(double percent)
public MaskMatrix build()
Copyright © 2018. All rights reserved.