plotPway {pathVar} | R Documentation |
Checks if an object is from the one sample or two samples cases and then plots reference distribution and the chosen pathway.
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
# 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)