ChiLiubio / microeco

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

trans_env class: Error in vegdist(scale(env[, i, drop = FALSE]), "euclid") : missing values are not allowed with argument 'na.rm = FALSE' #313

Closed xinguo1236 closed 8 months ago

xinguo1236 commented 8 months ago

when I run t1$cal_mantel(by_group = "Group", use_measure = "bray") Error in vegdist(scale(env[, i, drop = FALSE]), "euclid") : missing values are not allowed with argument 'na.rm = FALSE'

Is anything I can do to solve the problem? Many thanks if anyone can help.