copy.msa: MSA copy

Description Usage Arguments Details Value Author(s)

View source: R/msa.R

Description

Creates a copy of an MSA sequence

Usage

1

Arguments

x

an MSA 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.

Value

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

Author(s)

Melissa J. Hubisz and Adam Siepel


rphast documentation built on May 1, 2019, 9:26 p.m.