summary.hlaAlleleClass: Summarize a "hlaAlleleClass" object

Description Usage Arguments Value Author(s) See Also Examples

Description

Show the information of a hlaAlleleClass object.

Usage

1
2
## S3 method for class 'hlaAlleleClass'
summary(object, show=TRUE, ...)

Arguments

object

an object of hlaAlleleClass

show

if TRUE, show information

...

further arguments passed to or from other methods

Value

Return a data.frame of count and frequency for each HLA allele.

Author(s)

Xiuwen Zheng

See Also

hlaAllele

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# load HLA types and SNP genotypes
data(HLA_Type_Table, package="HIBAG")

# make a "hlaAlleleClass" object
hla.id <- "A"
hla <- hlaAllele(HLA_Type_Table$sample.id,
	H1 = HLA_Type_Table[, paste(hla.id, ".1", sep="")],
	H2 = HLA_Type_Table[, paste(hla.id, ".2", sep="")],
	locus=hla.id, assembly="hg19")
summary(hla)

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