Skip to content

Commit

Permalink
Use character instead of factor
Browse files Browse the repository at this point in the history
  • Loading branch information
nilseling committed Nov 28, 2023
1 parent eb42970 commit bb9b77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 11-spatial_analysis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ cur_sce$x <- spatialCoords(cur_spe)[,1]
cur_sce$y <- spatialCoords(cur_spe)[,2]
cur_sce$region <- as.character(cur_sce$cn_celltypes)
hatchingPlot(cur_sce, region = "cn_celltypes", cellType = "celltype") +
hatchingPlot(cur_sce, region = "region", cellType = "celltype") +
scale_color_manual(values = metadata(spe)$color_vectors$celltype)
```

Expand Down

0 comments on commit bb9b77a

Please sign in to comment.