Question: using simmap on a set of trees (phytools)
gravatar for asalak66
9 months ago by
asalak660 wrote:

ancestral reconstruction for discrete trait:
I have a list of trees. I am trying to map trait on these trees and summarize them on a consensus tree. I am using "make.simmap" in phytools pakage. I am trying to analyze step by step from this link "". Unfortunately I have an error and could not to debug it. please help me! this is my command and error:

first load packages

require(phytools) trees<"D:\project\PhD\fullrun1.nex") trees trees<-sample(trees[8751:35001],5) trees


x<-read.csv("D:\project\PhD\fullrun1.csv") mtrees<-make.simmap(trees,x,nsim=10,message=FALSE)

Error in [.data.frame(x, order(x, na.last = na.last, decreasing = decreasing)) : undefined columns selected

R • 234 views
ADD COMMENTlink written 9 months ago by asalak660
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1665 users visited in the last hour