consensus_LG_names {polymapR} | R Documentation |
Find consensus linkage group names
Description
Chromosomes that should have same number, might have gotten different numbers between parents during clustering.
consensus_LG_names
uses markers present in both parents (usually 1.1 markers) to modify the linkage group numbers in one parent with the other as template
Usage
consensus_LG_names(
modify_LG,
template_SxS,
modify_SxS,
merge_LGs = TRUE,
log = NULL
)
Arguments
modify_LG |
A |
template_SxS |
A file with assigned markers of which (at least) part is present in both parents of the template parent. |
modify_SxS |
A file with assigned markers of which (at least) part is present in both parents of the parent of which linkage group number are modified. |
merge_LGs |
Logical, by default |
log |
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout. |
Value
A modified modified_LG according to the template_SxS linkage group numbering
Examples
data("LGHomDf_P2_2", "P1_SxS_Assigned", "P2_SxS_Assigned")
consensus_LGHomDf<-consensus_LG_names(LGHomDf_P2_2, P1_SxS_Assigned, P2_SxS_Assigned)