Description Usage Arguments Value Examples
View source: R/exported_functions.R
finish_linkage_analysis
is a wrapper for linkage
. Performs linkage calculations between all markertypes within a linkage group.
1 2 3 4 5 |
marker_assignment |
A marker assignment matrix with markernames as rownames and at least containing the column |
dosage_matrix |
An integer matrix with markers in rows and individuals in columns. |
marker_combinations |
A matrix with four columns specifying marker combinations to calculate linkage.
If NULL all combinations are used for which there are rf functions.
Dosages of markers should be in the same order as specified in the names of rf functions.
E.g. if using 1.0_2.0 and 1.0_3.0 types use: |
target_parent |
Character string specifying target parent. |
other_parent |
Character string specifying other parent. |
convert_palindrome_markers |
Logical. Should markers that behave the same for both parents be converted to a workable format for that parent? E.g.: should 3.1 markers be converted to 1.3? |
ploidy |
Ploidy level of parent 1. |
ploidy2 |
Integer, by default |
pairing |
Type of pairing at meiosis, with options |
prefPars |
The estimates for preferential pairing parameters for parent 1 and 2, in range 0 <= p < 2/3. By default this is c(0,0) (so, no preferential pairing).
See the function |
LG_number |
Number of linkage groups (chromosomes). |
verbose |
Should messages be send to stdout or log? |
log |
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout. |
... |
(Other) arguments passed to |
Returns a matrix with marker assignments. Number of linkages of 1.0 markers are artificial.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
data("screened_data3", "marker_assignments_P1")
linkages_list_P1<-finish_linkage_analysis(marker_assignment=marker_assignments_P1,
dosage_matrix=screened_data3,
target_parent="P1",
other_parent="P2",
convert_palindrome_markers=FALSE,
ploidy=4,
pairing="random",
LG_number=5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.