Skip to contents

perform_goa takes a number of genes of interest (gois) and a list of gene sets and performs gene overrepresentation analysis.

Usage

perform_goa(gois, gene_sets, universe, min_size, max_size, verbose = TRUE)

Arguments

gois

Genes of interest. Usually the co-clustered genes.

gene_sets

Named list of gene sets and their genes.

universe

All genes in data set.

min_size

Min. number of genes in the gene set.

max_size

Max number of genes in the gene set. Set to Inf if you want to keep all genes.

verbose

Toggles verbosity of warnings.

Value

A data frame with the results of the go-analysis.

Details

perform_goa performs a hypergeometric test on the gois and gene sets. Gene sets are trimmed to genes that are present in universe (usually all the genes available in the data set) and trimmed to set min and max size.