Closed ElyasMo closed 3 years ago
By default VlnPlot
pulls the expression values from the data slot. See the documentation here.
Citing from the SCTransform documentation:
Returns a Seurat object with a new assay (named SCT by default) with counts being (corrected) counts, data being log1p(counts), scale.data being pearson residuals
So in your example above you are plotting the log1p-transformed corrected (discrete) counts. To plot the Pearson residuals set slot = "scale.data"
in VlnPlot
I am trying to analyze Alzheimer and healthy (in case of Alzheimer) human brain slices. After loading the data and normalizing the data through default options of SCTransform command, when I try to plot the the expression levels of some genes through vln command I see that the expression values are changed to integers or they are categorized in some defined levels and not a continues period of numbers.
I have rechecked this issue with the default mouse brain tutorial and I have got the same problem. Here is vln plot from the mouse brain dataset which is provided by Seurat as a tutorial. So it could be reproduceable for you as well.
here is the result of my sessioninfo():