- input_type
Can be either one of 'discrete' or 'probabilistic'. For the former (default), dosage_matrix
must be supplied,
while for the latter probgeno_df
and chk
must be supplied.
- dosage_matrix
An integer matrix with markers in rows and individuals in columns.
- probgeno_df
A data frame as read from the scores file produced by function
saveMarkerModels
of R package fitPoly
, or alternatively, a data frame containing the following columns:
- SampleName
Name of the sample (individual)
- MarkerName
Name of the marker
- P0
Probabilities of dosage score '0'
- P1...
Probabilities of dosage score '1' etc. (up to max dosage, e.g. P4 for tetraploid population)
- maxP
Maximum genotype probability identified for a particular individual and marker combination
- maxgeno
Most probable dosage for a particular individual and marker combination
- geno
Most probable dosage for a particular individual and marker combination, if maxP
exceeds a user-defined threshold (e.g. 0.9), otherwise NA
chk
Output list as returned by function checkF1
. This argument is only needed if probabilistic genotypes are used.
assigned_list
List of data.frames
with marker assignments for which the assignment analysis is already performed.
assigned_markertypes
List of integer vectors of length 2. Specifying the markertypes in the same order as assigned_list.
SN_functions
A vector of function names to be used. If NULL all remaining linkage functions with SN markers are used.
LG_hom_stack
A data.frame
with markernames ("SxN_Marker"
), linkage group ("LG"
) and homologue ("homologue"
)
parent1
A character string specifying name of parent1.
parent2
A character string specifying the name of parent2.
which_parent
Integer, either 1 or 2, with default 1, where 1 or 2 refers to parent1 or parent2 respectively.
ploidy
Ploidy level of parent 1. If parent 2 has the same ploidy level, then also the ploidy level of parent 2.
ploidy2
Integer, by default NULL
. If parental ploidies differ, use this to specify the ploidy of parent 2. Note that in cross-ploidy situations, ploidy2 must be smaller than ploidy.
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?
pairing
Type of pairing. Either "random"
or "preferential"
. By default random pairing is assumed.
LG_number
Expected number of chromosomes (linkage groups).
LOD_threshold
LOD threshold at which a linkage is considered significant.
write_intermediate_files
Logical. Write intermediate linkage files to working directory?
log
Character string specifying the log filename to which standard output should be written. If NULL log is send to stdout.
...
Arguments passed to linkage