Hi Haci, I am using Seuratv3.1. I tried to regress out the cell cycle genes but nothing changed
marrow <- ScaleData(Combined, vars.to.regress = c("S.Score", "G2M.Score"), features = rownames(Combined))
marrow <- RunPCA(marrow, features = VariableFeatures(marrow), nfeatures.print = 10)
marrow <- RunPCA(marrow, features = c(s.genes, g2m.genes))
DimPlot(marrow)
For you it worked?
Any comment will be appreciated!
edited: I think the cell cycle based correction is just to filter some genes from your original HVGs. You should still have enough HVGs after filtering for clustering. If not, you could modify the threshold of step1 to get more initial HVGs.
Ok Thank you for your explanation.
Sorry, I made some mistake in my previous statement. Actually, it calculates a score based on the difference of mean expression of the given list and the mean expression of reference genes (randomly selected genes matching the distribution of the expression of the given list). Then regress out the scores for downstream analysis. Therefore, if you want to remove (hopefully) the cell cycle effect, you should do HVG analysis on the corrected data.