readGenosFindhap: Read genotypes from findhap

View source: R/findhap.R

readGenosFindhapR Documentation

Read genotypes from findhap

Description

Read imputed genotypes/haplotypes from findhap.

Usage

readGenosFindhap(file, snp.ids, input.haplos = TRUE, output.genos = TRUE)

Arguments

file

path to the file containing imputed genotypes/haplotypes

snp.ids

vector of SNP identifiers

input.haplos

if TRUE, the input file is supposed to contain haplotypes

output.genos

if TRUE, the output will correspond to genotypes

Value

matrix

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 12, 2025, 11:35 p.m.