Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


rphast (version 1.0)

as.pointer.msa: MSA To Pointer

Description

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

Usage

as.pointer.msa(src)

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.

See Also

msa for details on MSA storage options.

Examples

Run this code
m <- msa(seqs=c("A--ACGTAT", "AG-AGGTAA", "AGGAGGTAG"),
         names=c("human", "mouse", "rat"))
m
m <- as.pointer.msa(m)
m

Run the code above in your browser using DataLab