Skip to content

meta_ora_from_files

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

Parameters

  • gmt_path - String of the path to the gmt file of interest
  • analyte_list_paths - Lists of Strings of the path to the analyte files of interest.
  • reference_list_paths - Lists of Strings of the paths to reference lists.

Returns

Returns a list of a list of dictionaries with the results containing the ORA 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_ora_from_files("kegg.gmt", ["genelist.txt", "second_genelist.txt"], ["reference.txt", "reference.txt"])

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 genelist.txt, res[2] would be the results from second_genelist.txt, and so on.

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