bionty.Tissue

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

Bases: BioRegistry, 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

created_at DateTimeField

Time of creation of record.

created_by ForeignKey

Creator of record, a User.

run ForeignKey

Last run that created or updated the record, a Run.

updated_at DateTimeField

Time of last update to record.

id AutoField

Internal id, valid only in one DB instance.

uid CharField

A universal id (hash of selected field).

name CharField

Name of the tissue.

ontology_id CharField

Ontology ID of the tissue.

abbr CharField

A unique abbreviation of tissue.

synonyms TextField

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

description TextField

Description of the tissue.

public_source ForeignKey

PublicSource this tissue associates with.

previous_runs ManyToManyField

Sequence of runs that created or updated the record.

parents ManyToManyField

Parent tissues records.

artifacts ManyToManyField

Artifacts linked to the tissue.

Methods