best way to do a boxplot for abundnace matrix (microbiome data)
0
0
Entering edit mode
4.7 years ago
Lila M ★ 1.2k

I'm trying to find the best way to represent some microbiome data. First of all I've created a model using ZIBR so I can catch the abundance differences in my species regarding different condition. The "problem" that I have now is that I am trying to do a boxplot for different condition and as is an inflated by zero matrix, the boxplot is not very nice. What I've tried so far is to do a logit transformation over my abundance matrix (total sum is 100) as follow:

p <-ggplot(abundance_tmatrix, aes(x=Time_point, y=logit(abundance_matrix$ssp1) , color=treatment)) +
   geom_boxplot() + ggtitle("ssp1") +
   xlab("time") + ylab("logit(abundance)")

And it looks very nice, but I am not pretty sure if this is totally correct. Any advises? Thanks!

abundance microbiome boxplot ZIBR • 1.3k views
ADD COMMENT

Login before adding your answer.

Traffic: 2026 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