Hi,

Charles Willis wrote on 06/04/2011 01:24:
Hi,

I want to run some comparative methods in R (ace, fitDiscrete, etc) on a
categorical trait that has 6 states.

My problem is that certain taxa are polymorphic for this trait (they have
multiple states). Is there a way to code polymorphisms in R? I know you can
code polymorphisms in Mesquite (e.g., 1&2) and in Bayestraits (e.g., 12),
but I cannot seem to find a description on how to code similar data in R.
Importing polymorphic data from Mesquite (read.nexus) doesn't appear to be
an option.

I plan to run the analyzes coding the trait as 6 independent binary traits,
but I wanted to see if it was possible to run it as a polymorphic multistate
trait as well.

ace() takes multistate characters into account. Apparently not firDiscrete().

Best,

Emmanuel

Thanks!
Charlie


Duke University
Department of Biology
125 Science Drive
Durham NC 27708
CP (605) 553-1057
charlie.wil...@duke.edu
http://www.duke.edu/~cgw6/

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo


--
Emmanuel Paradis
IRD, Jakarta, Indonesia
http://ape.mpl.ird.fr/

_______________________________________________
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo

Reply via email to