adding P_value to alpha diversity boxplot
I have generated these two boxplots. But I am unable to remove the points and the outliers. I already have used outliers.shape = NA which didn't work. I also want to fill the groups like this image. Can anyone please tell me how can I do that?
here's my code:
p <- plot_richness (physeq_rarefied, x="type", color = "type", measures=c("Shannon", "Observed")) +
stat_compare_means(method = "wilcox.test") +
geom_boxplot() +
labs(x= "Sample types", y= "Alpha Diversity Measure",
title = "Alpha diversity of control and test samples")
Thanks, dpc
• 97 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Please, again, add images properly. I'll reopen it once that's done.
Here's a hint:
You added https://ibb.co/fMFfZSD
That is a webpage that contains the image https://i.ibb.co/sjRncPW/fill.png (see how this one ends in a
.png?)Now I can embed it like this: