summary.hlaAlleleClass {HIBAG} | R Documentation

## Summarize a “hlaAlleleClass” or “hlaAASeqClass” object

### Description

Show the information of a `hlaAlleleClass` or `hlaAASeqClass` object.

### Usage

    ## S3 method for class 'hlaAlleleClass'
    summary(object, verbose=TRUE, ...)
    ## S3 method for class 'hlaAASeqClass'
    summary(object, poly.only=TRUE, head=0L,
        verbose=TRUE, ...)

### Arguments

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

[Package HIBAG version 1.22.0 Index]