Dear list members, In order to calculate the abundance-weighted Faith phylogenetic diversity index, I ran the function "weighted.faith()" from the lefse package (link below) using a community data matrix and a phylogeny. But I got the following error. I would be appreciated if you could help me to solve it.
AED <- weighted.faith(phy, comm) Error in integer(max(oldnodes)) : vector size cannot be infinite In addition: Warning message: In max(oldnodes) : no non-missing arguments to max; returning -Inf https://rdrr.io/github/NGSwenson/lefse_0.5/man/weighted.faith.html Saleh Rahimlou Ph.D. Candidate Department of Botany and Ecology University of Tartu 14A Ravila, 50411 Tartu Estonia Email: saleh.rahim...@ut.ee<mailto:saleh.rahim...@ut.ee> [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/