lnschema_bionty.Tissue#

class lnschema_bionty.Tissue(name: str, ontology_id: Optional[str], abbr: Optional[str], synonyms: Optional[str], description: Optional[str], parents: List[Tissue], bionty_source: Optional[BiontySource])#

Bases: BioRegistry

Tissues - Uberon.

Notes

For more info, see tutorial Manage biological registries

Bulk create Tissue records via from_values.

Examples

>>> record = lb.Tissue.from_bionty(name="brain")

Fields

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.

bionty_source ForeignKey

BiontySource this tissue associates with.

created_at DateTimeField

Time of creation of record.

updated_at DateTimeField

Time of last update to record.

created_by ForeignKey

Creator of record, a User.

parents ManyToManyField

Parent tissues records.

files ManyToManyField

Files linked to the tissue.

datasets ManyToManyField

Datasets linked to the tissue.

Methods