View source: R/calculate_missing_data.R
Calculate the number of loci with missing data and the number of loci with genotype data from a long format dataframe. Both missing and non-missing loci are provided here to allow flexibility for the user.
1 | calculate_missing_data(long_genos)
|
long_genos |
genetic data in long format where each sample has 2 rows per locus. the sample name must be in the 1st column of the data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.