as.pointer.msa: MSA To Pointer

Description Usage Arguments Value Author(s) See Also Examples

View source: R/msa.R

Description

Take an MSA stored in R and return one stored by reference

Usage

1

Arguments

src

an MSA object stored by value in R

Value

an MSA object stored by reference as a pointer to an object created in C.

Author(s)

Melissa J. Hubisz and Adam Siepel

See Also

msa for details on MSA storage options.

Examples

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

rphast documentation built on May 30, 2017, 5:13 a.m.