Skip to content

Enhancement: Comparing reference labels with custom labels #12

Description

@mihem

Great tool!
Annotating T cells is really hard and this tool is really helpful especially because it also provides a reference atlas.
However, I am missing a function that allows a comparison between custom labels of the query dataset and the labels of the reference dataset. Although plot.projection shows you where your cells are located, it does not allow a direct comparison between custom labels of the query dataset and the labels of the reference atlas.

A very easy solution would be a heatmap showing reference annotation as columns and your labels as rows.
If your labels are stored in query.projected@meta.data$cluster:

table(query.projected$cluster, query.projected$functional.cluster) |>
    pheatmap::pheatmap(scale = "row")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions