as.multidna: Convert to multidna

Description Usage Arguments Author(s) See Also Examples

View source: R/as.multidna.R

Description

Convert a set of sequences to a multidna object if possible.

Usage

1

Arguments

x

a valid set of sequences: character matrix, list of character vectors, DNAbin object or list of them, gtypes object, or multidna object.

Author(s)

Eric Archer eric.archer@noaa.gov

See Also

getSequences

Examples

1
2
3
4
5
6
7
8
9
# convert list of character vectors
data(dolph.seqs)
list.mdna <- as.multidna(dolph.seqs)
list.mdna

# convert gtypes object
data(dloop.g)
gtype.mdna <- as.multidna(dloop.g)
gtype.mdna

strataG documentation built on Feb. 28, 2020, 9:07 a.m.