GeneOntology¶
-
class
openomics.database.ontology.GeneOntology(path='http://geneontology.org/gene-associations/', file_resources=None, col_rename={'DB_Object_ID': 'gene_id', 'DB_Object_Symbol': 'gene_name', 'GO_ID': 'go_id'}, npartitions=0, verbose=False)[source][source]¶ Bases:
openomics.database.ontology.OntologyAttributes Summary
Methods Summary
add_predecessor_terms(annotation[, return_str])filter_network(namespace)Filter the subgraph node_list to only namespace terms.
get_predecessor_terms(annotation[, type])info()load_dataframe(file_resources[, npartitions])Handles data preprocessing given the file_resources input, and returns a DataFrame.
load_network(file_resources)Attributes Documentation
-
COLUMNS_RENAME_DICT= {'DB_Object_ID': 'gene_id', 'DB_Object_Symbol': 'gene_name', 'GO_ID': 'go_id'}[source]¶
Methods Documentation
-
filter_network(namespace)[source][source]¶ Filter the subgraph node_list to only namespace terms. :param namespace: one of {“biological_process”, “cellular_component”, “molecular_function”}
-