I have 4 samples (2 replicate each) sequenced with scRNAseq technology (10x Genomics) .
I am following these steps in seurat:
-> create an object from each of them separately with CreateSeuratObject,
-> merge the 4 objects with "merge" function.
-> perform SCTransform on the resulted object containing the group1, group2 ,group3 and group4
All samples falls into :
condition <- c("Tr", "Tr", "Ct", "Ct")
IDs <- c("a1", "a2, "b1", "b2")
Would it be correct if I include "condition" variable during the normalization ?
SCTransform(object = object , vars.to.regress = c("IDs", "condition" )
Please correct me if I am doing something wrong. I am really confused for the normalization step.
I will appreciate all the suggestion.