Do enrichment for a single community

enrich_community(
  ig,
  community,
  genesets,
  restart = 0.5,
  fdr = 1,
  pval = 1,
  plotting = FALSE
)

Arguments

ig

An igraph object

community

A community label

genesets

A named list of genesets

restart

Restart probability between 0-1

fdr

Passed to hypeR

pval

Passed to hypeR

plotting

Passed to hypeR

Value

An igraph and hyp object