decoupler.pp.read_gmt#

decoupler.pp.read_gmt(path)#

Read a GMT file and return the feature sets as a network.

Parameters:
path str

Path to GMT file containing feature sets.

Return type:

DataFrame

Returns:

Gene sets as pd.DataFrame.

Example

import decoupler as dc

net = dc.pp.read_gmt("path/to/gene_sets.gmt")