Description Usage Arguments Value Author(s) See Also Examples
View source: R/centrality_gsea.R
GSEA is performed with centrality measure
1 2 3 4 |
geneset |
list of gene sets |
x |
Named vector of gene-level statistics. Names should be the same as in gene sets. |
adjacency |
adjacency matrix |
pseudo |
pseudo number for log2 transformation (default: 1) |
nperm |
number of permutations (default: 1000) |
centrality |
centrality measure, degree centrality or node strength is default |
weightParam |
weight parameter value for the centrality measure, equally weight if weightParam = 0 (default: 1) |
minSize |
minimal size of a gene set (default: 1) |
maxSize |
maximal size of a gene set (default: Inf) |
gseaParam |
GSEA parameter value (default: 1) |
nproc |
see fgsea::fgsea |
BPPARAM |
see fgsea::fgsea |
GSEA result
Dongmin Jung
fgsea::fgsea
1 2 3 4 5 6 7 |
Loading required package: fgsea
Loading required package: PPInfer
Loading required package: biomaRt
Loading required package: kernlab
Loading required package: ggplot2
Attaching package: ‘ggplot2’
The following object is masked from ‘package:kernlab’:
alpha
Loading required package: igraph
Attaching package: ‘igraph’
The following objects are masked from ‘package:stats’:
decompose, spectrum
The following object is masked from ‘package:base’:
union
Loading required package: STRINGdb
Loading required package: yeastExpData
Loading required package: graph
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:igraph’:
normalize, path, union
The following object is masked from ‘package:kernlab’:
type
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
Attaching package: ‘graph’
The following objects are masked from ‘package:igraph’:
degree, edges, intersection
sh: 1: wc: Permission denied
Warning message:
In fgsea(geneset, statistic, nperm = nperm, minSize = minSize, maxSize = maxSize, :
You are trying to run fgseaSimple. It is recommended to use fgseaMultilevel. To run fgseaMultilevel, you need to remove the nperm argument in the fgsea function call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.