I am trying to calculate unifrac beta diversity. I used the SGB tree in the Newick format, but I received the error messages. PS: I had no issues calculating other alpha and beta diversities.
Thanks!
Error in FUN(X[[i]], …) : attempt to set index 0/0 in SET_STRING_ELT
Calls: → lapply → FUN
In addition: Warning message:
In FUN(X[[i]], …) : NAs introduced by coercion
Execution halted