NetGSAq | R Documentation |
Quick version of NetGSA
NetGSAq(x, group, pathways, lambda_c = 1, file_e = NULL, file_ne = NULL,
lklMethod="REHE", cluster = TRUE, sampling = TRUE, sample_n = NULL,
sample_p = NULL, minsize=5, eta=0.1, lim4kappa=500)
x |
See |
group |
See |
pathways |
See |
lambda_c |
See |
file_e |
See |
file_ne |
See |
lklMethod |
See |
cluster |
See |
sampling |
See |
sample_n |
See |
sample_p |
See |
minsize |
See |
eta |
See |
lim4kappa |
See |
This is a wrapper function to perform weighted adjacency matrix estimation and pathway enrichment in one step. For more details see ?prepareAdjMat
and ?NetGSA
.
A list with components
results |
A data frame with pathway names, pathway sizes, p-values and false discovery rate corrected q-values, and test statistic for all pathways. |
beta |
Vector of fixed effects of length |
s2.epsilon |
Variance of the random errors |
s2.gamma |
Variance of the random effects |
graph |
List of components needed in |
Michael Hellstern
Ma, J., Shojaie, A. & Michailidis, G. (2016) Network-based pathway enrichment analysis with incomplete network information. Bioinformatics 32(20):165–3174. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/btw410")}
Shojaie, A., & Michailidis, G. (2010). Network enrichment analysis in complex experiments. Statistical applications in genetics and molecular biology, 9(1), Article 22. https://pubmed.ncbi.nlm.nih.gov/20597848/.
Shojaie, A., & Michailidis, G. (2009). Analysis of gene sets based on the underlying regulatory network. Journal of Computational Biology, 16(3), 407-426. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3131840/
prepareAdjMat
, netEst.dir
, netEst.undir
# Example takes ~3 minutes to run depending on computer
## load the data
data("breastcancer2012_subset")
## consider genes from just 2 pathways
genenames <- unique(c(pathways[["Adipocytokine signaling pathway"]],
pathways[["Adrenergic signaling in cardiomyocytes"]]))
sx <- x[match(rownames(x), genenames, nomatch = 0L) > 0L,]
out_clusterq <- NetGSAq(sx, group, pathways_mat[c(1, 2), rownames(sx)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.