在R中使用ape::root时出错

在R中使用ape::root时出错,r,phylogeny,R,Phylogeny,我试图在R中使用ape包中的root,但我不断得到以下错误: Error in FUN(X[[i]], ...) : object 'fuseRoot' not found 以下是不起作用的代码: mammal.trees <- lapply(mammal.trees, root, "Gal", resolve.root=TRUE) demala.trees你能编辑你的帖子并添加dput(demala.trees[1:2])的输出吗?如果我们能重现您的错误,这会有所帮助。您能编辑您的帖

我试图在R中使用
ape
包中的
root
,但我不断得到以下错误:

Error in FUN(X[[i]], ...) : object 'fuseRoot' not found
以下是不起作用的代码:

mammal.trees <- lapply(mammal.trees, root, "Gal", resolve.root=TRUE)

demala.trees你能编辑你的帖子并添加dput(demala.trees[1:2])
的输出吗?如果我们能重现您的错误,这会有所帮助。您能编辑您的帖子并添加
dput(哺乳动物树[1:2])
的输出吗?如果我们能重现你的错误,这会有所帮助。