createTetraOriginInput {polymapR} | R Documentation |
Create input files for TetraOrigin using an integrated linkage map list and marker dosage matrix
Description
createTetraOriginInput
is a function for creating an input file for TetraOrigin, combining
map positions with marker dosages.
Usage
createTetraOriginInput(
maplist,
dosage_matrix,
bin_size = NULL,
bounds = NULL,
remove_markers = NULL,
outdir = "TetraOrigin",
output_stem = "TetraOrigin_input",
plot_maps = TRUE,
log = NULL
)
Arguments
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. |
Examples
## Not run:
data("integrated.maplist","ALL_dosages")
createTetraOriginInput(maplist=integrated.maplist,dosage_matrix=ALL_dosages,bin_size=10)
## End(Not run)