Possible values are "by.variant" or "by.sample,"
indicating whether the calculation should be done over all samples
for each variant, or over all variants for each sample.
use.names
A logical indicating whether to assign variant IDs
as names of the output vector.
Value
A numeric vector of missing genotype rates. If
margin="by.variant", the vector will have length equal to the
number of variants in the GDS object. If margin="by.sample",
the vector will have length equal to the number of samples.
Details
Calculates the fraction of missing genotypes in a GDS object, either
by variant or by sample.