bionty.CellMarker#
- class bionty.CellMarker(name: str, synonyms: str | None, gene_symbol: str | None, ncbi_gene_id: str | None, uniprotkb_id: str | None, organism: lnschema_bionty.models.Organism | None, public_source: lnschema_bionty.models.PublicSource | None)#
- class bionty.CellMarker(*db_args)
Bases:
BioRegistry
Cell markers - CellMarker.
Notes
Bulk create CellMarker records via
from_values
.Examples
>>> record = bionty.CellMarker.from_public(name="PD1", organism="human")
Fields
- id AutoField
Internal id, valid only in one DB instance.
- uid CharField
A universal id (hash of selected field).
- name CharField
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- synonyms TextField
Bar-separated (|) synonyms that correspond to this cell marker.
- gene_symbol CharField
Gene symbol that corresponds to this cell marker.
- ncbi_gene_id CharField
NCBI gene id that corresponds to this cell marker.
- uniprotkb_id CharField
Uniprotkb id that corresponds to this cell marker.
- organism ForeignKey
Organism
this cell marker associates with.
- public_source ForeignKey
PublicSource
this cell marker 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
.
- artifacts ManyToManyField
Artifacts linked to the cell marker.
- collections ManyToManyField
Collections linked to the cell marker.
- feature_sets ManyToManyField
Featuresets linked to this cell marker.
Methods