Add the redundant markers removed by create_data_bins function
Add the redundant markers removed by create_data_bins function
add_redundants(sequence, onemap.obj, bins)
Arguments
sequence: object of class sequence
onemap.obj: object of class onemap.obj before redundant markers were removed
bins: object of class onemap_bin
Returns
New sequence object of class sequence, which is a list containing the following components: - seq.num: a vector containing the (ordered) indices of markers in the sequence, according to the input file.
seq.phases: a vector with the linkage phases between markers in the sequence, in corresponding positions. -1 means that there are no defined linkage phases. - seq.rf: a vector with the recombination frequencies between markers in the sequence. -1 means that there are no estimated recombination frequencies.
seq.like: log-likelihood of the corresponding linkage map.
data.name: object of class onemap with the raw data. - twopt: object of class rf_2pts with the 2-point analyses.