Including arrows in NMDS plot in R vegan package

走远了吗. 提交于 2019-12-08 10:45:24

问题


I'm using the vegan package to plot a NMDS in R analyzing community similarities. This is based on a community matrix that includes different treatments:

NMDS=metaMDS(community_matrix,k=2,trymax=100)
plot(NMDS)

Could anybody tell me how to I can draw arrows to show how individual species respond to treatments?


回答1:


Arrows would be the wrong interpretation in such a plot; there is no reason whatsoever to assume that in a plot best preserving rank-order dissimilarity of samples the species respond linearly in that space.

We add species as they would be in a CA, as a weighted average of the sample scores, possibly expanded.

You can add species vectors by projecting them into the space using envfit(), by passing it the NMDS object and the species data, community_matrix in your case. If you have a lot of species, I would probably dispense with the permutations, unless you really need such an indication of significance.



来源:https://stackoverflow.com/questions/16732954/including-arrows-in-nmds-plot-in-r-vegan-package

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!