Converts map information in custom format files to viewmap object
prepare_map_custom_files(dosages, phases, genetic_map, mks_pos = NULL)
object of class viewmap
TSV or TSV.GZ file with both parents dosage information. It should contain four columns: 1) character vector with chromosomes ID; 2) Character vector with markers ID; 3) Character vector with parent ID; 4) numerical vector with dosage.
TSV or TSV.GZ file with phases information. It should contain: 1) Character vector with chromosome ID; 2) Character vector with marker ID; 3 to (ploidy number)*2 columns with each parents haplotypes.
TSV or TSV.GZ file with the genetic map information
TSV or TSV.GZ file with table with three columns: 1) marker ID; 2) genome position; 3) chromosome