Description Usage Arguments Value
View source: R/FUNCTION_numeric_2_VCF.R
Convert numeric genotypes into BEAGLE compatible VCF format
1 | numeric_2_VCF(genotypes, marker_map)
|
genotypes |
A numeric matrix or dataframe coded as c(0,1,2). Columns = markers, rows = samples/taxa |
marker_map |
A dataframe with the same order as the genotypes. Column names = c("rs", chr", "position") |
A dataframe in VCF format with marker metadata in the first 9 columns followed by genotype calls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.