lnschema_bionty.CellMarker#

class lnschema_bionty.CellMarker(name: str, synonyms: Optional[str], gene_symbol: Optional[str], ncbi_gene_id: Optional[str], uniprotkb_id: Optional[str], species: Optional[Species], bionty_source: Optional[BiontySource])#
class lnschema_bionty.CellMarker(*db_args)

Bases: BioRegistry

Cell markers - CellMarker.

Notes

Bulk create CellMarker records via from_values.

Examples

>>> record = lb.CellMarker.from_bionty(name="PD1", species="human")
>>> record.save()

Fields

id CharField

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

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.

species ForeignKey

Species this cell marker associates with.

bionty_source ForeignKey

BiontySource 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.

files ManyToManyField

Files linked to the cell marker.

datasets ManyToManyField

Datasets linked to the cell marker.

feature_sets ManyToManyField

Featuresets linked to this cell marker.

Methods