Inserts a new marker at the end of the sequence, taking into account the two-point information
concatenate_new_marker(X = NULL, d, sh = NULL, seq.num = NULL, ploidy, mrk = 1)
a unique list of matrices representing linkage phases
a list of matrices whose columns represent homologous chromosomes and the rows represent markers
the dosage of the inserted marker
a list of shared alleles between all markers in the sequence
a vector of integers containing the number of each marker in the raw data file
the ploidy level
the marker to be inserted