scATAC-scRNA integration #1959
Replies: 1 comment 2 replies
-
I am receiving errors after the integration step, |
Beta Was this translation helpful? Give feedback.
-
I am receiving errors after the integration step, |
Beta Was this translation helpful? Give feedback.
-
Hi
I am using ArchR to do my scATAC-scRNA integration.
the cells in my scATAC and scRNA are paired. One cell in scATAC is likely has one relevant cell in scRNA. We would like these cells to integrate together.
My scATAC is Arch project and my scRNA is Seurat subject. In order to make the integration easier, we make the paired cell same name in both scATAC and scRNA.
Here is what I did:
I first did the common Unconstrained Integration in Arch.
scATACintRNA <- addGeneIntegrationMatrix( ArchRProj = scATAC, useMatrix = "GeneScoreMatrix", matrixName = "GeneIntegrationMatrix", reducedDims = "IterativeLSI", seRNA = scRNA, addToArrow = FALSE, groupRNA = 'seurat_clusters', nameCell = "scRNA$orig.ident", nameGroup = "[email protected]$seurat_clusters", nameScore = "predictedScore_Un", plotUMAP = TRUE )
Then I list the matching cells by their names.
matchingCellNames <- intersect(rownames(scATAC@cellColData), colnames(scRNA))
Then tell the matchingCellNames to groupList
groupList <- SimpleList( Constrained = SimpleList( ATAC = matchingCellNames, RNA = matchingCellNames ), Rest = SimpleList( ATAC = scATACintRNA$cellNames[!scATACintRNA$cellNames %in% matchingCellNames], RNA = colnames(scRNA)[!colnames(scRNA) %in% matchingCellNames] ) )
Finally I did constrained Integration in Arch, constrained by matchingCellNames
scATACintRNA_0.1<- addGeneIntegrationMatrix( ArchRProj = scATACintRNA, useMatrix = "GeneScoreMatrix", matrixName = "GeneIntegrationMatrix", reducedDims = "IterativeLSI", seRNA = scRNA, addToArrow = FALSE, groupList = groupList, groupRNA = 'seurat_clusters', nameCell = "scRNA$orig.ident", nameGroup = "[email protected]$seurat_clusters", nameScore = "predictedScore_Un", plotUMAP = TRUE )
It went all the process without error, however, then I check the cells that matched. Unfortunately, it was only 23 by Unconstrained Integration and increased to 30 by constrained Integration. Actually, it should be thousands.
Any place wrong?
Best
Beta Was this translation helpful? Give feedback.
All reactions