saving community phylogenetics datasets to a file

Share:

Description

write.spacodi.data generates community phylogenetic datasets to be used in the external program SPACoDi

Usage

1
write.spacodi.data(sp.plot, outfile)

Arguments

sp.plot

a community dataset formatted for the R-package spacodiR (see as.spacodi)

outfile

a formatted file for the Windows executable SPACoDi

Details

This utility writes a species-by-plots matrix into a format readable by the external program SPACoDi, a Windows executable (available at http://ebe.ulb.ac.be/ebe/Software.html).

Author(s)

Jonathan Eastman

See Also

as.spacodi for converting from phylocom to spacodiR formats; see spacodi.calc for community diversity measures of empirical data

Examples

1
2
3
4
5
6
# generate a community-phylogenetics dataset
data(sp.example)
attach(sp.example)

# save the dataset to working directory
write.spacodi.data(sp.plot=spl, outfile="spacodi.formatted.txt")

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