joey711 / phyloseq

phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
http://joey711.github.io/phyloseq/
582 stars 187 forks source link

pca with meta data #1673

Open judixy opened 1 year ago

judixy commented 1 year ago

Hello,

I made a PCA and want to color the points of the PCA by cities (4 cities in the column city), but as the PCA only accepts numeric data I took the city column out of the pca dataset . Now, how to add the city names from the meta data sheet to the pca data so I can color them in a graph? The column names of the pca and meta data are the same (JMF ID) so maybe I can somehow join them by that but with full_join that dies not work.