bdgenomics.mango.genotypes.GenotypeCallRatesDistribution¶
-
class
bdgenomics.mango.genotypes.GenotypeCallRatesDistribution(ss, genotypeDataset, sample=1.0)[source]¶ GenotypeCallRatesDistribution class. GenotypeCallRatesDistribution computes a distribution of per-sample genotype call rates from a genotypeDataset.
-
__init__(ss, genotypeDataset, sample=1.0)[source]¶ Initializes a GenotypeCallRatesDistribution class. Retrieves counts of called and missing genotypes from a genotypeDataset.
- Args:
param ss: SparkContext param genotypeDataset: bdgenomics.adam.ds.GenotypeDataset param sample: Fraction to sample GenotypeDataset. Should be between 0 and 1
Methods
__init__(ss, genotypeDataset[, sample])Initializes a GenotypeCallRatesDistribution class. plot([testMode])Plots final distribution values and returns the plotted distribution as a list -