View source: R/exported_functions.R
marker_binning | R Documentation |
marker_binning
allows for binning of very closely linked markers and choses one representative.
marker_binning(
dosage_matrix,
linkage_df,
r_thresh = NA,
lod_thresh = NA,
target_parent = "P1",
other_parent = "P2",
max_marker_nr = NULL,
max_iter = 10,
log = NULL
)
dosage_matrix |
A dosage |
linkage_df |
A linkage |
r_thresh |
Numeric. Threshold at which markers are binned. Is calculated if NA. |
lod_thresh |
Numeric. Threshold at which markers are binned. Is calculated if NA. |
target_parent |
A character string specifying the name of the target parent. |
other_parent |
A character string specifying the name of the other parent. |
max_marker_nr |
The maximum number of markers per homologue. If specified, LOD threshold is optimized based on this number. |
max_iter |
Maximum number of iterations to find optimum LOD threshold. Only used if |
log |
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout. |
A list with the following components:
binned_df |
A linkage data.frame with binned markers removed. |
removed |
A data.frame containing binned markers and their representatives. |
left |
Integer. Number markers left. |
data("screened_data3", "all_linkages_list_P1_split")
binned_markers<-marker_binning(screened_data3, all_linkages_list_P1_split[["LG2"]][["homologue3"]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.