The function performs a correlation corrected GSEA for each cluster and returns a list of correlation corrected statistics and p values

wmw_gsea(expr.mat, cluster.cells, log.fc.cluster, gene.sets)

Arguments

expr.mat

Expression matrix for the dataset

cluster.cells

List of clusters containing the assigned cells

log.fc.cluster

Log fold change in gene expression between clusters

gene.sets

Named list of gene sets containing the genes defining each set

Value

Returns the z scores and p values for gene set enrichment