Skip to content

meta_gsea_from_files

Run a meta-analysis GSEA with files at the provided paths.

Parameters

  • gmt_path - String of the path to the gmt file of interest
  • rank_files - Lists of Strings of the paths to the rank files of interest. Tab separated.

Returns

Returns a list of a list of dictionaries with the results containing the GSEA results for every set.

The first list contains the results of the meta-analysis. The following lists are the results for each list individually.

Panics

Panics if the any file is malformed or not at specified path.

Example

import webgestaltpy

res = webgestaltpy.meta_gsea_from_files("kegg.gmt", ["test.rnk", "second_test.rnk"])

res would be a list containing the results of the meta-analysis and each list run individually. In this example, res[0] would look be the results of the meta-analysis. res[1] would be the results from test.rnk, res[2] would be the results from second_test.rnk, and so on.

See the documentation for webgestaltpy.gsea for specifics about the format of the results.