bionty.Tissue

class bionty.Tissue(name: str, ontology_id: str | None, abbr: str | None, synonyms: str | None, description: str | None, parents: list[Tissue], source: Source | None)

Bases: BioRecord, TracksRun, TracksUpdates

Tissues - Uberon.

Notes

For more info, see tutorials Manage biological registries Tissue.

Bulk create Tissue records via from_values.

Examples

>>> record = bionty.Tissue.from_public(name="brain")

Fields

run: Run

Last run that created or updated the record.

id

Internal id, valid only in one DB instance.

uid

A universal id (hash of selected field).

name

Name of the tissue.

ontology_id

Ontology ID of the tissue.

abbr

A unique abbreviation of tissue.

synonyms

Bar-separated (|) synonyms that correspond to this tissue.

description

Description of the tissue.

source

Source this tissue associates with.

previous_runs: Run

Sequence of runs that created or updated the record.

parents

Parent tissues records.

artifacts

Artifacts linked to the tissue.

created_at: datetime

Time of creation of record.

created_by: User

Creator of record.

updated_at: datetime

Time of last update to record.

Methods