getsnp: Extract a SNP from a binary format bed object

Description Usage Arguments Value See Also

View source: R/rbed.R

Description

Convert the raw BED data into an integer string, apply any allele flipping inferred from the reference

Usage

1
getsnp(bed, x)

Arguments

bed

An "rbed" object as returned from readbed or mergeref

x

The index of the SNP to extract

Value

a vector of length bed$no.ind containing the SNP values for each individual

See Also

getind, getinds


danjlawson/pcapred documentation built on Oct. 7, 2021, 3:47 p.m.