Description Usage Arguments Value Author(s) See Also Examples
makes a ecdf plot for enrichment test result returned by
enrichment_test with test equals to kst.
| 1 2 3 4 5 6 7 8 9 10 | 
| x | EnrichmentKST. Returned by  | 
| ... | other arguments not supported | 
| level | character. The level to plot the ecdf plot. Must be in the group. | 
| alternative | character. Either greater or less | 
| colors | character | 
a ggplot2 object
Chenghao Zhu
| 1 2 3 4 5 6 7 8 9 10 11 | 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", "kst")
ecdf(en, level = "PC", alternative = "greater")
en = enrichment_test(lpd, fit, "class", "kst", alternative = "greater")
ecdf(en, level = "PC")
en = enrichment_test(lpd, fit, "class", "kst", alternative = "two.sided")
ecdf(en, level = "PC")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.