Hello everyone,

I wonder anyone can give me some guidance about db-RDA analysis. Thank you! The following is my code.

data(B) #B is the genetic distance matrix for bulk soil#

data(env_B) # env_B is the soil characteristics data containing SOM, TN, TP, TK#

data(SD) # SD is the geographic distance matrix#

SD=pcnm(SD)

#condition geographic distance#

b=capscale(B~SOM+TN+TK+TP+Condition(scores(SD)),data=env_B)

But there is a error message "error in rownames(X):can not find X". 

Similar questions and discussions