join {insect}R Documentation

Concatenate DNAbin objects while preserving attributes.

Description

This function joins two or more DNAbin objects, retaining any attributes whose lengths match those of the input objects (e.g. "species", "lineage" and/or "taxID" attributes).

Usage

join(...)

Arguments

...

DNAbin objects to be concatenated.

Value

an object of class DNAbin.

Author(s)

Shaun Wilkinson

See Also

subset.DNAbin.

Examples

data(whales)
whales1 <- whales[1:10]
whales2 <- whales[11:19]
join(whales1, whales2)

[Package insect version 1.4.2 Index]