Description Usage Arguments Details Value Author(s) Examples
View source: R/pipeline.final.R
Checks if an object is from the one sample or two samples cases and then plots reference distribution and the chosen pathway.
1 | plotPway(pvalue_results,pathway,sig)
|
pvalue_results |
output of |
pathway |
the chosen pathway you want to plot. |
sig |
output of |
Plots the results of the one or two samples case for a chosen pathway.
A plot of the results from sigPway
.
Laurence de Torrente, Samuel Zimmerman, Jessica Mar
1 2 3 4 5 | # we run the 2 samples analysis on the first 10 pathways from kegg
pways.kegg.10pways <- lapply(pways.kegg, function(x) x[1:10])
results_2samples=pathVarTwoSamplesCont(bock,pways.kegg.10pways,groups=as.factor(c(rep(1,10),rep(2,10))))
sigPways <- sigPway(results_2samples,0.05)
plotPway(results_2samples,"Glycolysis / Gluconeogenesis",sigPways)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.