Regression and scaling in scanpy
0
0
Entering edit mode
11 days ago
bioinfo ▴ 150

Hello,

I was given a script using scanpy for analysis from a coworker that has left and I am trying to understand the analysis steps. He mainly seems to have followed the instructions from here https://scanpy.readthedocs.io/en/stable/tutorials/basics/clustering-2017.html.

However, I am trying to understand a few steps of the analysis.

I see that he regressed and scaled the data as shown below:

sc.pp.regress_out(adata, ["total_counts")]
sc.pp.scale(adata, max_value=10)

However, from what I understand that adata.raw (which contained the log normalized data) is being used for visualizations (eg. UMAP, matrixplots) and for DE analysis. Are the regressed and scaled data used in any part of the analysis?

Thank you

scanpy • 143 views
ADD COMMENT

Login before adding your answer.

Traffic: 1816 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