Seurat - Warning after rescaling a subset of the data
1
0
Entering edit mode
4 days ago
Assa Yeroslaviz ★ 1.9k

After sub-setting my data set I reapeat the workflow of Normalization -> Find-HVG -> ScaleData

But for some reason I get this warning.

Warning: Different features in new layer data than already exists for scale.data

I know it is only a warning, but I want to make sure, I don't work on the wrong assay as I have several assays.

thank you

FindVaraibleFeatures r seurat • 4.9k views
ADD COMMENT
3
Entering edit mode
4 days ago

The reason is that by subsetting your object you obtain different HVG than with your full object. You have run ScaleData on your full object with your HVG (by default 2000 genes), which is the default behaviour of ScaleData. When you ran it a second time on your object subset, your list of HVG is different, thus, the error message. You can ignore the warning, the scale.data matrix is gonna be replace.

ADD COMMENT

Login before adding your answer.

Traffic: 5297 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6