Description Usage Arguments Value
Calculates the proportion of missing data for each SNPs or each isolate where missing values are denoted by -1.
Missing values are calculated for each column of genotypes
(where columns are isolates and rows are SNPs),
however genotypes
can be transposed to calculate missingness proportions for SNPs.
1 | calculateMissingness(genotypes)
|
genotypes |
An integer matrix of genotype data of the form -1, 0, 1 and 2 representing missing genotypes, homozygous reference, heterozygous and homozygous alternative respectively. |
A vector of length n
where n
is the number of columns in genotypes
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.