hlaGDS2Geno: Convert from SNP GDS format

Description Usage Arguments Value Author(s) See Also

Description

To convert a SNP GDS file to an object of hlaSNPGenoClass.

Usage

1
2
3
hlaGDS2Geno(gds.fn, rm.invalid.allele=FALSE,
	import.chr="xMHC", assembly=c("auto", "hg18", "hg19", "unknown"),
	verbose=TRUE)

Arguments

gds.fn

the SNP GDS file used by the SNPRelate package

rm.invalid.allele

if TRUE, remove SNPs with invalid alleles

import.chr

the chromosome, "1" .. "22", "X", "Y", "XY", "MT", "xMHC", or "", where "xMHC" implies the extended MHC on chromosome 6, and "" for all SNPs

assembly

the human genome reference: "hg19" (default), "hg18", "auto" refers to "hg19"

verbose

if TRUE, show information

Value

Return an object of hlaSNPGenoClass.

Author(s)

Xiuwen Zheng

See Also

hlaGeno2PED, hlaBED2Geno


HIBAG documentation built on May 2, 2019, 4:50 p.m.