ChiLiubio / microeco

An R package for data analysis in microbial community ecology
GNU General Public License v3.0
181 stars 55 forks source link

Pielou metric for alpha diversity is not working #314

Closed Ilaria-Pirona closed 5 months ago

Ilaria-Pirona commented 5 months ago

Good morning, I have downloaded today the microeco version 1.4.0 to have the new "Pielou" metrics proposed in the documentation. Unfortunately when I try to set it as metric I have this error:

data$cal_alphadiv(measures="Pielou") Error in data$cal_alphadiv(measures = "Pielou") : None of the measures you provided are supported. Try default NULL instead.

In the latest version (https://cran.r-project.org/web/packages/microeco/microeco.pdf) you propose:

measures default NULL; one or more indexes in c("Observed", "Coverage", "Chao1", "ACE", "Shannon", "Simpson", "InvSimpson", "Fisher", "Pielou")

Thank you in advanced, Ilaria

Ilaria-Pirona commented 5 months ago

It was just a matter of changing the RStudio Version!