lamindb.examples.cellxgene.get_cxg_schema

lamindb.examples.cellxgene.get_cxg_schema(schema_version, *, field_types='ontology_id', organism='human')

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']) – 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'], default: 'human') – The organism of the Schema.

Return type:

Schema