Adjust p-values for all genesets, grouped by 'source' then adjust for the number of 'sources'
padjust_genesets(
genesets,
method = "BH",
cutoff = 0.01,
correct_sources = TRUE
)
updated genesets
table
tibble with genesets, must contain column 'pvalue'
method for multiple testing correction, must be any of stats::p.adjust.methods
, e.g. "BH" or "bonferroni"
numeric cutoff value for adjusted p-value, signif
column is set to TRUE for all values lesser-equals
apply Bonferroni adjustment to all p-values according to the number of geneset sources that were tested. Boolean parameter, set TRUE to enable (default) or FALSE to disable