Description Usage Arguments Value Author(s) See Also Examples
This function makes bar plot for top most positively and negatively enriched levels.
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
x | 
 EnrichmentFET. Returned by   | 
... | 
 other params not supported  | 
num | 
 integer. Number of categories to display. Use it when alternative equals to greater, less, or two.sided.  | 
greater | 
 integer. Number of categories which are greater. Use it when alternative equals to both.  | 
less | 
 integer. Number of categories which are less. Use it when alternative equals to both.  | 
text.size | 
 integer  | 
fill | 
 character. Bar fill color  | 
panel.ratio | 
 numeric. The ratio of left and right panels.  | 
title | 
 character. The title of the plot.  | 
a ggplot object
Chenghao Zhu
1 2 3 4 5 6 7  | lpd = transform_by_sample(lipidome, function(x) log(x/sum(x)))
design = model.matrix(~Treatment * Timepoint + Subject, data = lpd$pdata)
fit = model_fit(lpd, design, "TreatmentMed:TimepointPre", "limma")
en = enrichment_test(lpd, fit, "class", "fet")
barplot(en)
en = enrichment_test(lpd, fit, "class", "fet", alternative = "greater")
barplot(en)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.