midas_barplot | R Documentation |
MIDAS Barplot
midas_barplot(midas_data, facet_by = "protein", FDR_cutoff = 0.1)
midas_data |
|
facet_by |
Variable to facet by, either protein or metabolite |
FDR_cutoff |
cutoff used for labeling discoveries |
a grob
library(dplyr) library(ggplot2) midas_pmis %>% dplyr::filter(query_protein %in% sample(unique(midas_pmis$query_protein), 3)) %>% midas_barplot(FDR_cutoff = 0.1) + theme(axis.text.x = element_blank())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.