arborworkflows / aRbor

aRbor, an R package with useful functions for Arbor workflows
5 stars 3 forks source link

functions not working in Arbor #31

Closed chodon closed 10 years ago

chodon commented 10 years ago

Phylogenetic signal (Arbor) - csv=HeliContRare.csv (heliconia) Tree=HeliContRare.phy (make.treedata phy (2) (heliconia) Error in eval(expr, envir, enclos) : could not find function "detectCharacterType"

make.treedata - It seems that if there are NAs in the csv, even if you have run make.treedata the output doesn't work in some functions, maybe because the presence of some characters prevents the tree from being rarified, then when you select a column to run the analysis on, there is missing data and you get an error. If you remove all rows with NAs from the character table, then run make.treedata, it rarifies the tree and you can use the output in analyses.

lukejharmon commented 10 years ago

This is an example of what we need to fix for #25. I'll close this now but we're working on a general solution.