lamindb.examples.cellxgene.create_cellxgene_schema

lamindb.examples.cellxgene.create_cellxgene_schema(schema_version, *, field_types='ontology_id', organism='human', spatial_library_id=None)

Generates a Schema for a specific CELLxGENE schema version.

Parameters:
  • schema_version (Literal['4.0.0', '5.0.0', '5.1.0', '5.2.0', '5.3.0', '6.0.0']) – The CELLxGENE Schema version.

  • field_types (Literal['ontology_id', 'name'] | Collection[Literal['ontology_id', 'name']], default: 'ontology_id') – One or several of ‘ontology_id’, ‘name’.

  • organism (Literal['human', 'mouse', 'zebra danio', 'rhesus macaquedomestic pig', 'chimpanzee', 'white-tufted-ear marmoset', 'sars-2'], default: 'human') – The organism of the Schema.

  • library_id – Identifier for the spatial library. Specifying this value enables curation against spatial requirements.

Return type:

Schema