Description Usage Arguments Examples
View source: R/exported_functions.R
createTetraOriginInput
is a function for creating an input file for TetraOrigin, combining
map positions with marker dosages.
1 2 3 |
maplist |
A list of maps. In the first column marker names and in the second their position. |
dosage_matrix |
An integer matrix with markers in rows and individuals in columns. Either provide the unconverted dosages (i.e.
before using the |
bin_size |
Numeric. Size (in cM) of the bins to include. If |
bounds |
Numeric vector. If |
remove_markers |
Optional vector of marker names to remove from the maps. Default is |
outdir |
Output directory to which input files for TetraOrigin are written. |
output_stem |
Character prefix to add to the .csv output filename. |
plot_maps |
Logical. Plot the marker positions of the selected markers using |
log |
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout. |
1 2 | data("integrated.maplist","ALL_dosages")
createTetraOriginInput(maplist=integrated.maplist,dosage_matrix=ALL_dosages,bin_size=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.