This is a test version of Biostars. For the public version, visit https://www.biostars.org.
change color and scale in SpatialFeaturePlot

Hello everyone

I am using seurat R package for the analysis of spatial transcriptome data. For visualization, I used SpatialFeaturePlot for the specific set of genes and tried to change color by adding scale_fill_continuous as suggested in the github https://github.com/satijalab/seurat/issues/3698 . But nothing works for me.

 p <- SpatialFeaturePlot(d,  features = c("Lyz1"),  pt.size.factor = 1.5, ncol = 1)  
 p + ggplot2::scale_fill_continuous(limits = c(0.0,10.0),, breaks = c(0.0, 5.0, 1.0))

I would appreciate all suggestions.

clustering seurat spatial-transcriptome

0 answers

No answers yet.

Log in to answer this question.