Skip to content

plotLabel option to color by ID w/o table #33

@HelenaLC

Description

@HelenaLC

Currently need to set a mock table with identifiers to color by. This could be an option to c.

is <- unique(SparseArray::nzvals(data(label(sd))))
se <- SingleCellExperiment(colData=DataFrame(id))
sd <- setTable(sd, "shape", se)
plotSpatialData() + plotLabel(sd, c="id")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions