Learn R Programming

HIBAG (version 1.8.3)

summary.hlaAlleleClass: Summarize a ``hlaAlleleClass'' or ``hlaAASeqClass'' object

Description

Show the information of a hlaAlleleClass or hlaAASeqClass object.

Usage

"summary"(object, verbose=TRUE, ...) "summary"(object, poly.only=TRUE, head=0L, verbose=TRUE, ...)

Arguments

object
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.

See Also

hlaAllele, hlaConvSequence