Description Usage Arguments Value
Convert genotype matrix from gdsToMatrix into a tidy data frame
1 2 | tidyGenotypeMatrix(genotypes, selected_snp_id = "snp_id",
value_id = "snp_value")
|
genotypes |
Matrix with variants in rows and individuals in columms. |
selected_snp_id |
Name for the snp_id column (default: snp_id). |
value_id |
Name for the allele dosage column (default: snp_value). |
Tidy data frame with one genotype per row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.