pathVar (version 1.2.0)

sigPway: A function checks if an object is from the one sample or two samples cases and then finds the significant pathways.

Description

A function checks if an object is from the one sample or two samples cases and then finds the significant pathways.

Usage

sigPway(pvalue_results, pvalue)

Arguments

pvalue_results
geneDistributionSet2 object and the output of the pathVarTwoSamples function or geneDistributionSet object and the output of the pathVarOneSample.
pvalue
the significance level to test.

Value

A significantPathway2 object or significantPathway object is returned.

Details

This function takes the output pathVarTwoSamples or pathVarOneSample and returns a significantPathway2 or significantPathway object specifying the significant pathway(s) and which gene(s) belongs to the significant pathway(s).

Examples

Run this code
results_2samples=pathVarTwoSamplesCont(bock,pways.kegg,groups=as.factor(c(rep(1,10),rep(2,10))),boot=1000,varStat="sd")
sig_kegg=sigPway(results_2samples,0.05)

Run the code above in your browser using DataLab