r_phylogenetics_worshop
r_phylogenetics_worshop copied to clipboard
error
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.