## bionty.CellMarker

| class bionty.CellMarker(name: str, synonyms: str | None, gene_symbol: str | None, ncbi_gene_id: str | None, uniprotkb_id: str | None, organism: Organism | None, source: Source | None) |
class bionty.CellMarker(*db_args)

 Bases: "BioRecord", "TracksRun", "TracksUpdates"

 Cell markers - CellMarker.

 -[ Notes ]-

 For more info, see tutorials Manage biological ontologies and
 CellMarker.

 Bulk create CellMarker records via "from_values()".

 Example:

 import bionty as bt

 record = bt.CellMarker.from_source(name="PD1", organism="human")

 name: str

 Unique name of the cell marker.

| gene_symbol: str | None |

 Gene symbol that corresponds to this cell marker.

| ncbi_gene_id: str | None |

 NCBI gene id that corresponds to this cell marker.

| uniprotkb_id: str | None |

 Uniprotkb id that corresponds to this cell marker.

 organism: Organism

 "Organism" this cell marker associates with.

 artifacts: Artifact

 Artifacts linked to the cell marker.

 records: Record

 Records linked to the cell marker.

 schemas: Schema

 Featuresets linked to this cell marker.

 classmethod from_source(cls, *, name=None, gene_symbol=None, ncbi_gene_id=None, uniprotkb_id=None, organism=None, source=None, mute=False, **kwargs)

 Create a CellMarker record from source based on a single
 identifying field.

 Parameters:
| * **name** ("str" | "None", default: "None") -- Cell marker |
 name (e.g. "PD1", "CD19")

| * **gene_symbol** ("str" | "None", default: "None") -- Gene |
 symbol (e.g. "PDCD1", "CD19")

| * **ncbi_gene_id** ("str" | "None", default: "None") -- NCBI |
 gene ID that corresponds to this cell marker

| * **uniprotkb_id** ("str" | "None", default: "None") -- |
 UniProt ID that corresponds to this cell marker

| * **organism** ("str" | "Organism" | "None", default: "None") |
 -- Organism name or Organism record source: Optional Source
 record to use

 * **mute** ("bool", default: "False") -- Whether to suppress
 logging

 Return type:
| "CellMarker" | "list"["CellMarker"] | "None" |

 Returns:
 A single CellMarker record, list of CellMarker records, or
 None if not found

 Example:

 import bionty as bt

 record = bt.CellMarker.from_source(name="PD1", organism="human")
 record = bt.CellMarker.from_source(gene_symbol="PDCD1", organism="human")
 record = bt.CellMarker.from_source(name="CD19", organism="mouse")