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 20, 2017, 2:56 a.m.

Search within the rphast package
Search all R packages, documentation and source code