r_phylogenetics_worshop icon indicating copy to clipboard operation
r_phylogenetics_worshop copied to clipboard

error

Open liamxg opened this issue 9 months ago • 0 comments

Dear @agmcfarland,

When I run the below code: ` tree_raxml$edge.length[tree_raxml$edge.length == 0] <- 1e-7

run reconstruction model

fitER <- ape::ace(traitvals, tree_raxml, type = "discrete", method = "ML", CI = TRUE, model = "ARD", scaled = TRUE, kappa = 1, corStruct = NULL, ip = 0.1, use.expm = FALSE, use.eigen = TRUE, marginal = FALSE) `

It reports error:

Error in ape::ace(traitvals, tree_raxml, type = "discrete", method = "ML", : "phy" is not rooted AND fully dichotomous.

liamxg avatar Apr 27 '24 10:04 liamxg