Skip to contents

This function aggregates gene sets in parallel using the parLapply function from the parallel package, ensuring cross-platform compatibility.

Usage

aggregate_geneSetList(geneList, geneSetList, method, n_cores = 1)

Arguments

geneList

A list of genes.

geneSetList

A list of gene sets to be aggregated.

method

aggregation method used.

n_cores

Number of cores to use for parallel processing. Default is 1. If set to 0, it uses all available cores minus one.

Value

A list of aggregated gene set scores.