Runs dysregulated pathway identification analysis for preprocessed input data.
DyspiaSimpleImpl(
pathwayScores,
pathwaysSizes,
pathwaysFiltered,
leadingEdges,
permPerProc,
seeds,
toKeepLength,
stats,
BPPARAM
)Vector with enrichment scores for the pathways in the database.
Vector of pathway sizes.
Filtered pathways.
Leading edge gene pairs.
Parallelization parameter for permutations.
Seed vector
Number of `pathways` that meet the condition for `minSize` and `maxSize`.
Named vector of gene pair-level scores. Names should be the same as in pathways of `pathwayDB`.
Parallelization parameter used in bplapply. Can be used to specify cluster to run. If not initialized explicitly or by setting `nproc` default value `bpparam()` is used.
A table with DysPIA results. Each row corresponds to a tested pathway. The columns are the following:
pathway -- name of the pathway as in `names(pathway)`;
pval -- an enrichment p-value;
padj -- a BH-adjusted p-value;
DysPS -- enrichment score, same as in Broad DysPIA implementation;
NDysPS -- enrichment score normalized to mean enrichment of random samples of the same size;
nMoreExtreme` -- a number of times a random gene pair set had a more extreme enrichment score value;
size -- size of the pathway after removing gene pairs not present in `names(stats)`;
leadingEdge -- vector with indexes of leading edge gene pairs that drive the enrichment.