Open slvrshot opened 8 years ago
Hi Joey I lost some code for this and was hoping you may have some idea to make this easier. I know it involves repairing factors, and transforming counts to proportions, but some of my original code when I originally got it to work is missing (not sure what happened).
Thanks!
For example, my current code displays the absolute abundance of taxa beautifully using faceting. Here is a sample the code:
On the Y axis I want it to go from (0,100)....and plot the relative abundance of each taxa on the X axis....so if Bacteroidetes makes up 30% of the reads I would like it to plot up to 30% on the Y axis...and if Firmicutes make up 60% I would like a bar beside Bacteroidetes indicating it contributes 60% of the reads, etc etc. I hope this makes sense.
Please help!