I’m a bit confused about visualising the gene expression values after training a model.
The tutorial uses “raw” values(I guess these are log1p library size-normalised?) for dotplot:
sc.pl.dotplot(
adata,
markers,
groupby='cell_type',
dendrogram=True,
color_map="Blues",
swap_axes=True,
use_raw=True,
standard_scale="var",
)
But next paragraph says:
We can also visualize the scVI normalized gene expression values with the layer option.
:
sc.pl.heatmap(
adata,
markers,
groupby='cell_type',
layer="scvi_normalized",
standard_scale="var",
dendrogram=True,
)
So, which values do you use? Here’re plots I made for my dataset. The first one uses SCVI-decoded values, and the second - log1p library size-normalised.
As you can see, all cells in a group seem to express the markers when using SCVI-decoded values. That seems a bit meaningless coming from other tools (like SCT-normalised values in Seurat).
Would appreciate any help.