Skip to content

sc.pl.heatmap show the wrong scale #750

@wangjiawen2013

Description

@wangjiawen2013

Dear, when I use sc.pl.heatmap(adata,markers,groupby='leiden',show_gene_labels=True) to show some marker genes, the colorbar value range is different from that generated by sc.pl.umap(). I am sure that umap show the expression value correctly and there must be something wrong with sc.pl.heatmap(), here are the images:

For example, the expression value of gene 'Sct' is 0-7.5, while it changes to 0-1e7 on the heatmap, the value is so high that it may scale other gene's expression value to almost zero and nothing can be seen on heatmap for other genes. Some other genes have the same issue. Do you know the reason ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions