nrow.msa: MSA Number of Sequences

Description Usage Arguments Value Author(s) See Also Examples

View source: R/msa.R

Description

Returns the number of sequence in an MSA alignment.

Usage

1
2
## S3 method for class 'msa'
nrow(x)

Arguments

x

an MSA object

Value

an integer containing the number of sequences in an alignment.

Author(s)

Melissa J. Hubisz and Adam Siepel

See Also

msa

Examples

1
2
3
m <- msa(seqs=c("A--ACGTAT", "AG-AGGTAA", "AGGAGGTAG"),
         names=c("human", "mouse", "rat"))
nrow.msa(m)

rphast documentation built on May 1, 2019, 9:26 p.m.