Usage
PWEA(x, group, pathways, type, preparePaths=TRUE, norm.method=NULL, test.method=NULL, tif=NULL, alpha=0.05, nperm=1000, ncores=NULL, both.directions=TRUE, maxNodes=150, minEdges=0, commonTh=2, filterSPIA=FALSE, convertTo="none", convertBy=NULL)
Arguments
x
An ExpressionSet object or a gene expression data matrix or count matrix, rows refer to genes, columns to samples. Or a list of two data.frames: observed and random (after group permutations) of statistics of differential expression of genes
group
Name or number of the phenoData column or a character vector or factor that contains required class assigments
pathways
A list of pathways in a form from graphite package or created by preparePathways()
type
Type of the data, "MA" for microarray, "RNASeq" for RNA-Seq or "DEtable" for a list of observed and random gene-level statistics
preparePaths
Logical, by default the pathways are transformed with preparePathways(). Use FALSE, if you have done this transformation separately
norm.method
Character, the method to normalize RNAseq data. If NULL then TMM-normalization is performed. Possible values are: "TMM", "DESeq2", "rLog", "none"
test.method
Character, the method for differentiall expression analysis of RNAseq data. If NULL then "voomlimma" is used. Possible values are: "DESeq2", "voomlimma", "vstlimma", "edgeR".
tif
A list of Topology Influence Factor's. One slot refers to one pathway. Use prepareTIF() to create it. It is required only if type=="DEtable"
alpha
Numeric, a theshold value used during TIF calculation
nperm
Numeric, number of permutations. Used only if x %in% c("MA", "RNASeq")
ncores
Numeric, number of cores. Used only if x %in% c("MA", "RNASeq"). The permutations are calculated in parallel way
both.directions, maxNodes, minEdges, commonTh, filterSPIA, convertTo, convertBy
Arguments for the preparePathways()