View source: R/create_demo_map_table.R
create_demo_map_table | R Documentation |
.map
tableCreate a demo genetic mapping .map
table.
It is simply a map of SNPs that are located on different chromosomes.
create_demo_map_table(traits = create_demo_traits())
traits |
one or more traits with a clear genetic architecture and a known minor allele frequency, as, for example, created by create_demo_traits. |
Each SNP is positioned on a different chromosome. As PLINK allows for a maximum of 95 chromosomes, the 96th SNP is placed on the first chromosome again, after which the chromosomes are travered again.
Richèl J.C. Bilderbeek
# Default demonstration genetic mapping table
create_demo_map_table()
# Random, 1 SNP
create_demo_map_table(traits = create_random_trait())
# Random, 2 SNPs
create_demo_map_table(traits = create_random_trait(n_snps = 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.