You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example notebook, seurat.ipynb, the function sc.pp.normalize_per_cell() is run before sc.pp.regress_out(). Is it not better to regress out the effect of n_counts before normalization? I do not completely understand this and it would be great if the authors could explain this order of pre-processing. Also, is there certain order(s) of steps which should always be avoided?
Thank you.
Best,
Parashar
The text was updated successfully, but these errors were encountered:
Performing the normalization removes the effect of having different total counts per cell by scaling each gene with the total counts.
But one might want more: if there is still some correlation of a gene with n_countsafter normalization, one concludes that the simple scaling done in normalization has not fully removed the effect of n_counts on that particular gene. Hence, using sc.pp.regress_out, one performs an additional gene-wise correction.
I have to admit that I have not investigated how necessary this is. As you know, this is adapted from the Seurat tutorial - I guess the authors of Seurat found it useful in some cases to fully remove the effect of n_counts on each single gene.
Hi,
In the example notebook,
seurat.ipynb
, the functionsc.pp.normalize_per_cell()
is run beforesc.pp.regress_out()
. Is it not better to regress out the effect of n_counts before normalization? I do not completely understand this and it would be great if the authors could explain this order of pre-processing. Also, is there certain order(s) of steps which should always be avoided?Thank you.
Best,
Parashar
The text was updated successfully, but these errors were encountered: