MSA Number of Sequences

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.