Description Usage Arguments Examples
View source: R/exported_functions.R
create_phased_maplist
is a function for creating a phased maplist, using
integrated map positions and original marker dosages.
1 2 3 4 |
maplist |
A list of maps. In the first column marker names and in the second their position. |
dosage_matrix.conv |
Matrix of martker dosage scores with markers in rows and individuals in columns. Note that dosages must be
in converted form, i.e. after having run the |
dosage_matrix.orig |
Optional, by default |
remove_markers |
Optional vector of marker names to remove from the maps. Default is |
N_linkages |
Number of significant linkages (as defined in |
lower_bound |
Numeric. Lower bound for the rate at which homologue linkages (fraction of total for that marker) are recognised. |
ploidy |
Integer. Ploidy of the organism. |
ploidy2 |
Optional integer, by default |
marker_assignment.1 |
A marker assignment matrix for parent 1 with markernames as rownames and at least containing the column |
marker_assignment.2 |
A marker assignment matrix for parent 2 with markernames as rownames and at least containing the column |
original_coding |
Logical. Should the phased map use the unconverted dosage coding or not? |
log |
Character string specifying the log filename to which standard output should be written. If |
verbose |
Logical, by default |
1 2 3 4 5 | data("integrated.maplist", "ALL_dosages", "marker_assignments_P1","marker_assignments_P2")
create_phased_maplist(integrated.maplist,
dosage_matrix.conv = ALL_dosages,
marker_assignment.1=marker_assignments_P1,
marker_assignment.2=marker_assignments_P2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.