ReadFastPHASE: Read fastPHASE files

Description Usage Arguments Value

View source: R/fastphase.R

Description

Parses fastPHASE *.inp files. There are two types of them: with ids of samples provided or not. The function recognizes both. The alleles can be coded as letters or numbers, but missing ones should be always "?". Check that alleles in input file are written without whitespaces. The haplotype should look like 'AACTT' and not like 'A A C T T'.

Usage

1

Arguments

inp

path/to/filename.inp

Value

A character vector with strings of letters representing haplotypes. The length of vector is 2N, where N is the number of diploid individuals.


inzilico/imputeqc documentation built on July 28, 2020, 5:31 p.m.