[R-sig-phylo] spp taxonomy to phylo object

2011-05-03 Thread Matthew Helmus
Hi all, I would like to take taxonomic groupings of species and produce a phylo (phylo4, etc.) object. Does anyone have any suggestions on where to start or has written a script that I could edit to work with my data? Below is an example of the data. Thank you! Matt The data are in order

Re: [R-sig-phylo] spp taxonomy to phylo object

2011-05-03 Thread Marcus Cianciaruso
Dear Matt, You can do the following: library(vegan) taxdis - taxa2dist(YOUR_TAXONOMIC_DATASET) the taxonomic dataset object is a data frame with species names at rownames and columns for identifiers of its classification at higher levels (genus, family,order kingdom) ordered from left to

Re: [R-sig-phylo] spp taxonomy to phylo object

2011-05-03 Thread Marcus Cianciaruso
Me again: Surfing on the web I followed another way to convert taxonomy variables to phylo trees http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=ape:as.phylo.formula :) Cheers! On Tue, May 3, 2011 at 9:30 PM, Marcus Cianciaruso cianciar...@gmail.comwrote: Dear Matt, You can do the