Skip to content

'gene_symbols' keyword argument for mudata.pl.embedding not working #89

Open
@srira25

Description

First of all, thank you for the amazing package.

While plotting an embedding and coloring by feature expressions in the 10XCITE-seq multimodal data for PBMC from the muon tutorials (https://muon-tutorials.readthedocs.io/en/latest/cite-seq/1-CITE-seq-PBMC-5k.html), I wanted to use the gene symbols argument to specify the column where the gene symbols are available in the rna modality's .var .

Example usage: ax = mu.pl.embedding(mdata, basis='rna:X_umap', color=["leiden"]+['rna:ENSG00000243485'], gene_symbols='rna:gene_ids')

Although the documentation for mu.pl.embedding shows a kwargs argument is available to pass to scanpy's embedding function, the function gives me a KeyError: 'rna:gene_ids'.

I tried both with and without the modality prefix 'rna:' to no avail.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions