Skip to content

Error in translate_shape_string(): ! Shape aesthetic contains invalid values: 19. #6740

@ltzyl

Description

@ltzyl

Hello, I have noticed that when using DimPlot, it consistently reports the following error:
> DimPlot(rna_integrated_harmony,reduction = 'umap.harmony')

Rasterizing points since number of points exceeds 100,000.
To disable this behavior set raster=FALSE
Error in translate_shape_string():
! Shape aesthetic contains invalid values: 19.
Run rlang::last_trace() to see where the error occurred.

I am unaware of the reason, and the number of groups is far below 19.If I set raster to TRUE, it will work normally.

version.string R version 4.3.0 (2023-04-21)

packageVersion("Seurat")
[1] '5.1.0'
packageVersion("ggplot2")
[1] '3.5.2'
packageVersion("patchwork")
[1] '1.3.2'
packageVersion("rlang")
[1] '1.1.6'

Metadata

Metadata

Assignees

No one assigned

    Labels

    reprexneeds a minimal reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions