bento.tl.load_gene_sets

bento.tl.load_gene_sets(name) DataFrame

Load a gene set from the predefined collection.

Parameters:

name (str) – Name of gene set to load. Available options can be listed with bento.tl.gene_sets.

Returns:

Gene set as a DataFrame.

Return type:

pd.DataFrame

Raises:

KeyError – If the specified gene set name is not found in the collection.