plotPway: Checks if an object is from the one sample or two samples...

Description Usage Arguments Details Value Author(s) Examples

View source: R/pipeline.final.R

Description

Checks if an object is from the one sample or two samples cases and then plots reference distribution and the chosen pathway.

Usage

1
plotPway(pvalue_results,pathway,sig)

Arguments

pvalue_results

output of pathVarTwoSamples or pathVarOneSample step.

pathway

the chosen pathway you want to plot.

sig

output of sigPway or NULL.

Details

Plots the results of the one or two samples case for a chosen pathway.

Value

A plot of the results from sigPway.

Author(s)

Laurence de Torrente, Samuel Zimmerman, Jessica Mar

Examples

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)

jmarlab/pathVar documentation built on May 23, 2019, 9:02 p.m.