View source: R/get_test_map_table.R
get_test_map_table | R Documentation |
.map
) tableGet a simple genetic mapping (.map
) table,
as can be used in testing.
This is the same table as can be obtained by reading
the PLINK v1.7 example file called test.map
.
get_test_map_table()
a mapping (.map
) table
The function has the word get
in its name,
as getting the result is trivial. When getting the result is non-trivial,
the word create
is used.
Richèl J.C. Bilderbeek
use create_demo_map_table to get simulated genetic mapping tables
get_test_map_table()
# Get the genetic map from the original PLINK v1.7 example file
if (is_plink_installed(create_plink_v1_7_options())) {
map_filename <- get_plink_example_filename(
example_filename = "test.map",
create_plink_v1_7_options()
)
read_plink_map_file(map_filename)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.