But there's always a warning message after this step
What do I do with this warning when I'm putting together the data?
immune.anchors <- FindIntegrationAnchors(object.list = list(HLJ1, HLJ2,HLJ3,HLJ4), dims = 1:20)
Warning message:
In CheckDuplicateCellNames(object.list = object.list) :
Some cell names are duplicated across objects provided. Renaming to enforce unique cell names.
2 answers
You can ignore that. It's just saying there is some overlap in cell barcodes between samples, so it will add a suffix to the cell barcodes.
That's fine, there will almost always be matching cell barcodes since they are not completely randomly generated when 10X are synthesizing their beads.
Basically, when you have different experiments (or samples), some barcodes (cell names) in each experiment collide when merging them. So Seurat renames some cells to maintain unique names. So this can be ignored.
Regarding the other warning, seems like your initial objects were not normalized. While it can also be ignored, but better you normalize each of your HLJ1... before merging/integrating them. Make sure you have set the correct active assays for each object etc. (basically following the tutorial as it is)
https://satijalab.org/seurat/v3.0/integration.html
There is a step before integration, where each object is normalized.
for (i in 1:length(pancreas.list)) {
pancreas.list[[i]] <- NormalizeData(pancreas.list[[i]], verbose = FALSE)
pancreas.list[[i]] <- FindVariableFeatures(pancreas.list[[i]], selection.method = "vst",
nfeatures = 2000, verbose = FALSE)
}
yeah。I have done the corresponding QC for each sample before I reintegrate it
Thats not a QC, that's normalization.
for (i in 1:length(pancreas.list)) {
pancreas.list[[i]] <- NormalizeData(pancreas.list[[i]], verbose = FALSE)
pancreas.list[[i]] <- FindVariableFeatures(pancreas.list[[i]], selection.method = "vst", nfeatures = 2000, verbose = FALSE)
}
Log in to answer this question.