Thanks a lot!
Thank you for your help. I have checked my phylogeny and it returned TRUE, but the problem still occurs. I don't know what went wrong.
library(ape)
mytree<-read.tree(file = "mytree.nwk")
is.rooted(mytree)
[1] TRUE
library(picante)
sam<-readsample("sample.txt")
ses.pd(sam,mytree,null.model = "phylogeny.pool",runs=99)
Error in node.age(sub.tree) :
function node.age only works with a rooted phylo object
Hello, my problem is the same as yours, did you finally solve this problem?
May be because it can't be calculated all at once, but in batches
What did you mean? btw I got the same problem, and I don't know how to solve?
Hello, my problem is the same as yours, did you finally solve this problem?
Maybe it needs to be converted to a binary tree.