clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

parameter explaination of GSEA function

Open wbvguo opened this issue 1 year ago • 1 comments

Hi,

I was trying to run the GSEA function and got confused with its parameters exponent, which is documented as weight of each step.

GSEA(
  geneList,
  exponent = 1,
  minGSSize = 10,
  maxGSSize = 500,
  eps = 1e-10,
  pvalueCutoff = 0.05,
  pAdjustMethod = "BH",
  TERM2GENE,
  TERM2NAME = NA,
  verbose = TRUE,
  seed = FALSE,
  by = "fgsea",
  ...
)

may I ask if the exponent is the weight assigned to each gene, in that sense, the weight should have the same length as geneList (or 1, if it's a constant), is this guess correct?

Thanks!

wbvguo avatar Dec 13 '22 03:12 wbvguo