skembel / picante

R tools for integrating phylogenies and ecology
33 stars 17 forks source link

Feature request: biplot for Inter-Community Mean Pairwise Distance for traits data #21

Closed Jigyasa3 closed 4 years ago

Jigyasa3 commented 5 years ago

Hey

Is it possible to plot a biplot for Inter-Community Mean Pairwise Distance for traits data? For example, to see which traits are driving the community difference.

skembel commented 4 years ago

Hello, if I understand the request it is possible to do this as a simple scatter plot. comm.dis <- comdist(comm, phylo.distances) trait.dis <- comdist(comm, trait.distances) plot(comm.dis, trait.dis)