Closed:Run CCA in Seurat
0
1
Entering edit mode
5.5 years ago
Bios ▴ 10

I'm running CCA and I don't know why an error occurred in MergeSeurat. Any help is appreciated. Here's my code:

g.1 <- head(rownames(ctrl@hvg.info), 1000)
g.2 <- head(rownames(stim@hvg.info), 1000)
genes.use <- unique(c(g.1, g.2))
genes.use <- intersect(genes.use, rownames(ctrl@scale.data))
genes.use <- intersect(genes.use, rownames(stim@scale.data))
asthma.combined <- RunCCA(ctrl, stim, genes.use = genes.use, num.cc = 30)
Running CCA
Merging objects
Error in MergeSeurat(object1 = object, object2 = object2, do.scale = FALSE,  : 
Duplicate cell names, please provide 'add.cell.id1' and/or 'add.cell.id2' for unique names
  
R RNA-Seq • 367 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2900 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6