Learn R Programming

rphast (version 1.6.9)

extract.feature.msa: Extract features from an MSA object

Description

Returns the subset of the MSA which appears in the features object.

Usage

extract.feature.msa(x, features, do4d = FALSE, pointer.only = FALSE)

Arguments

x

An object of type MSA

features

An object of type features denoting the regions of the alignment to extract.

do4d

If TRUE, then some elements of features must have type "CDS", and only fourfold-degenerate sites will be extracted.

pointer.only

If TRUE, return only a pointer to an object stored in C (useful for large alignments; advanced use only)

Value

An msa object containing only the regions of x appearing in the features object.

See Also

sub.msa, [.msa