Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Dataset Objects

Natalie Catlett edited this page Sep 17, 2015 · 15 revisions

This page contains information about the dataset objects defined in datasets.py

classes:

  • DataSet
    • contains any data relevant to the BEL Namespace and Annotation resource generator pipeline
    • methods
      • get_values - returns all non-obsolete values used as keys in the data dictionary
      • _str_ - returns identifying string for data object
  • OrthologyDataSet
    • contains orthology relationship data
    • parent class - DataSet
    • get_orthologs(term_id) - returns set of orthologs associated with term_id
  • NamespaceDataSet
    • contains data for BEL Namespaces and Annotations including ids, terms, synonyms, and equivalences
    • parent class - DataSet
    • methods
      • get_label(term_id) - returns the value to be used as the preferred label for an associated term_id
      • *get_name_(term_id) - returns the term name to use as a title (or None)
      • *get_species(term_id) - returns species associated with a term_id as NCBI tax ID, or None as applicable
Clone this wiki locally