readHaplosFastphase: Read haplotypes from fastPHASE

View source: R/fastPHASE.R

readHaplosFastphaseR Documentation

Read haplotypes from fastPHASE

Description

Extract the haplotypes from fastPHASE's output files ("hapguess_switch" and "hapguess_indiv").

Usage

readHaplosFastphase(file, snp.ids)

Arguments

file

character

snp.ids

vector of SNP identifiers

Value

matrix with haplotypes in rows (2 per genotype) and SNPs in columns

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.