bionty_base.Organism¶
- class bionty_base.Organism(organism=None, source=None, version=None, **kwargs)¶
Bases:
PublicOntologyOrganism.
1. Organism ontology Edits of terms are coordinated and reviewed on: https://www.ensembl.org/index.html
- Parameters:
source (
Literal['ensembl','ncbitaxon'] |None, default:None) – The key of the source in the local.yml versions file. Get all available databases with.display_available_sources().version (
str|None, default:None) – The version of the ontology. Typically a date or an actual version. Get available versions with.display_available_sources().
Attributes¶
- property fields: set¶
All PublicOntology entity fields.
- property organism¶
The
nameofOrganism.
- property source¶
Name of the source.
- property version¶
Version of the source.
Methods¶
- df()¶
Pandas DataFrame of the ontology.
- Return type:
DataFrame- Returns:
A Pandas DataFrame of the ontology.
Examples
>>> import bionty_base as bt >>> bt.Organism().df()