prepare_map_custom_files: Converts map information in custom format files to viewmap...

View source: R/functions_upload.R

prepare_map_custom_filesR 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


viewpoly documentation built on May 29, 2024, 1:26 a.m.