Save supermatrix

Share:

Description

Save supermatrix to a phylip file

Usage

1

Arguments

supermat

Supermatrix as build by function supermat

file

File name to be specified

Details

None

Value

Save supermatrix to phylip file.

Author(s)

Jinlong Zhang jinlongzhang01@gmail.com

References

Kress W., Erickson D., Jones F., Swenson N., Perez R., Sanjur O., Bermingham E., Plant DNA barcodes and community phylogeny of a tropical forest dynamics plot in Panama. Proceedings of the National Academy of Sciences of the United States of America. 2009 18621-18626

See Also

supermat

Examples

1
2
3
4
5
6
dir <- system.file("extdata", package = "phylotools")
file.copy(from = dir, to = getwd())
## Supermatrix with "rbcla","matk","trnH-psbA"
supermat1 <- supermat(rbcl = "rbcla.phy", matk = "matK.phy", 
           trn = c("trn1.phy", "trn2.phy","trn3.phy","trn4.phy"))	   
write.mat(supermat1, "result1.phy")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.