GSForge.utils.converters module

Converter functions are those that transform data for IO to / from other programs.

GSForge.utils.converters.gene_set_collection_to_support_dataframe(collection: GSForge.models._GeneSetCollection.GeneSetCollection, specification: Optional[dict] = None) pandas.core.frame.DataFrame
Parameters
  • collection (GeneSetCollection) – A GeneSetCollection object to be converted to a pandas.Dataframe.

  • specification (dict) – TODO: Declare required format of specification dictionary.

Returns

A dataframe with columns ['Gene', 'Collection'].

Return type

pd.DataFrame