Skip to contents

This function filters a list of gene sets based on the background genes and specified size constraints.

Usage

filter_geneSetList(bg_genes, geneSetList, minGSSize, maxGSSize)

Arguments

bg_genes

A vector of background gene symbols to be used for filtering.

geneSetList

A list of gene sets to be filtered.

minGSSize

Minimum gene set size for filtering.

maxGSSize

Maximum gene set size for filtering.

Value

A filtered list of gene sets that meet the size constraints and background genes criteria.