Description Usage Arguments Value Author(s) References Examples
The function runs PWEA method (please see References for the details) on gene expression data matrix, vector specifing to which group a sample belongs and a list of pathway graphs. Briefly, it is a weighted GSEA-like method. The weightes are based on the distance and Pearson's correlation between genes in a pathway.
1 2 3 4 5 6 | PWEA(x, group, pathways, type, which = "proteins", edgeType = NULL,
preparePaths = TRUE, norm.method = NULL, test.method = NULL,
tif = NULL, alpha = 0.05, nperm = 1000, ncores = 1,
both.directions = TRUE, maxNodes = 150, minEdges = 0,
commonTh = 2, filterSPIA = FALSE, convertTo = "none",
convertBy = NULL)
|
x |
An |
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 |
type |
Type of the input data, |
which |
Character, which type of nodes is preserved in a pathway. Possible values are |
edgeType |
Character, which type of edges is preserved in a pathway. If |
preparePaths |
Logical, by default the pathways are transformed with |
norm.method |
Character, the method to normalize RNAseq data. If |
test.method |
Character, the method for differentiall expression analysis of RNAseq data. If |
tif |
A list of Topology Influence Factor's. One slot refers to one pathway. Use |
alpha |
Numeric, a theshold value used during TIF calculation |
nperm |
Numeric, number of permutations. Used only if |
ncores |
Numeric, number of cores. Used only if |
both.directions, maxNodes, minEdges, commonTh, filterSPIA, convertTo, convertBy |
Arguments for the |
A list:
res |
A data frame, rows refer to pathways. It contains: Enrichment score for a pathway, p-value and p-value adjusted for multiple hypothesis testing by Benjamini-Hochberg's FDR method. |
topo.sig |
A list, topology influence factors for the genes in individual pathways. |
degtest |
A named vector of statistics from testing the differential expression |
Ivana Ihnatova
Hung, JH., Whitfield, T. W., Yang, TH., Hu, Z., Weng, Z., DeLisi, Ch. (2010) Identification of functional modules that correlate with phenotypic difference: the influence of network topology, Genome Biology, 11:R23
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
if (require(breastCancerVDX)) {
data("vdx")
pathways<-pathways("hsapiens","biocarta")[1:3]
MAdata<-Biobase::exprs(vdx)[,1:10]
rownames(MAdata)<-Biobase::fData(vdx)[,"Gene.symbol"]
MAdata<-MAdata[!duplicated(rownames(MAdata)),]
PWEA(MAdata, Biobase::pData(vdx)[,"er"][1:10], pathways, type="MA", convertTo="SYMBOL", nperm=10)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.