Learn R Programming

rphast (version 1.6.9)

copy.msa: MSA copy

Description

Creates a copy of an MSA sequence

Usage

copy.msa(x)

Arguments

x

an MSA object

Value

an MSA object which can be modified independently from the original object

Details

If m is stored in R (as it is by default), then m2 <- copy.msa(m1) is no different than m2 <- m1. But if it is stored as a pointer to a C structure, this is the only way to make an explicit copy of the MSA object.