summary.hlaAlleleClass: Summarize a "hlaAlleleClass" or "hlaAASeqClass" object

Description Usage Arguments Value Author(s) See Also

View source: R/DataUtilities.R

Description

Show the information of a hlaAlleleClass or hlaAASeqClass object.

Usage

1
2
3
4
5
6
7
## S3 method for class 'hlaAlleleClass'
summary(object, verbose=TRUE, ...)
## S3 method for class 'hlaAASeqClass'
summary(object, poly.only=TRUE, head=0L,
    verbose=TRUE, ...)
## S3 method for class 'hlaAlleleClass'
print(x, ...)

Arguments

object

an object of hlaAlleleClass or hlaAASeqClass

x

an object of hlaAlleleClass or hlaAASeqClass

poly.only

if TRUE, only show the amino acid positions with polymorphism; otherwise, show all sequences

head

show the first head rows of cross tabulation, or 0L for all rows

verbose

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, if object is hlaAlleleClass; a matrix of cross tabulation of amino acids at each position, if object is hlaAASeqClass.

Author(s)

Xiuwen Zheng

See Also

hlaAllele, hlaConvSequence


HIBAG documentation built on March 24, 2021, 6 p.m.