sort.nex: Sort a nexus file

Description Usage Arguments Examples

View source: R/sort.nex.R

Description

Sort a nexus file

Usage

1
2
## S3 method for class 'nex'
sort(x, by = c("taxlabels", "charlabels"), ...)

Arguments

x

nexus object

by

sorting by

...

other arguments passed to sort

Examples

1
2
3
4
5
6
## Not run: 
data(twig)
twig.sorted <- sort(twig, by="taxlabels")
plot(twig.sorted)

## End(Not run)

celiason/phenotools documentation built on Sept. 12, 2019, 6:49 p.m.