Description Usage Arguments Value Examples
View source: R/exported_functions.R
assign_linkage_group
quantifies per marker number of linkages to a linkage group and evaluates to which linkage group (and homologue(s)) the marker belongs.
1 2 3 4 | assign_linkage_group(linkage_df, LG_hom_stack, SN_colname = "marker_a",
unassigned_marker_name = "marker_b", phase_considered = "coupling",
LG_number = 12, LOD_threshold = 3, ploidy = 4, assign_homologue = T,
log = NULL)
|
linkage_df |
A linkage |
LG_hom_stack |
A |
SN_colname |
The name of the column in linkage_df harbouring the 1.0 markers |
unassigned_marker_name |
The name of the column in linkage_df harbouring the marker that are to be assigned. |
phase_considered |
The phase that is used to assign the markers (deprecated) |
LG_number |
The number of chromosomes (linkage groups) in the species. |
LOD_threshold |
The LOD score at which a linkage to a linkage group is significant. |
ploidy |
The ploidy of the plant species. |
assign_homologue |
Logical. Should markers be assigned to homologues? If |
log |
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout. |
Output is a data.frame with at least the following columns:
Assigned_LG |
The assigned linkage group |
Assigend_hom1 |
The homologue with most linkages |
The columns LG1 - LGn and Hom1 - Homn give the number of hits per marker for that linkage group/homologue. Assigned_hom2 .. gives the nth homologue with most linkages.
1 2 3 4 | data("SN_DN_P1", "LGHomDf_P1_1")
assigned_df<-assign_linkage_group(linkage_df = SN_DN_P1,
LG_hom_stack = LGHomDf_P1_1,
LG_number = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.