prepare_map_custom_files {viewpoly} | R Documentation |
Converts map information in custom format files to viewmap object
Description
Converts map information in custom format files to viewmap object
Usage
prepare_map_custom_files(dosages, phases, genetic_map, mks_pos = NULL)
Arguments
dosages |
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. |
phases |
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. |
genetic_map |
TSV or TSV.GZ file with the genetic map information |
mks_pos |
TSV or TSV.GZ file with table with three columns: 1) marker ID; 2) genome position; 3) chromosome |
Value
object of class viewmap
[Package viewpoly version 0.4.1 Index]