Plots in R using phyloseq
1
0
Entering edit mode
7.0 years ago

Hi all, I am trying to create barplots for my metagenomic data via R and phyloseq, I should create plots of a single specified genus or species for all my samples. Could any one explain how to create this using R code???

Thanks Kiran

plot image

R PHYLOSEQ • 3.5k views
ADD COMMENT
0
Entering edit mode

Hi

genus_Thiobacillus = subset_taxa(BTM, Genus == "g__Thiobacillus")

myplot <- plot_bar(genus_Thiobacillus ,"X.SampleID", fill = "Specie")

ADD REPLY
0
Entering edit mode
ADD COMMENT
0
Entering edit mode

Should create plots like this need help.

ADD REPLY

Login before adding your answer.

Traffic: 1726 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6