直接merge 報(bào)錯(cuò):
Warning message:
“non-unique values when setting 'row.names': ”
Error in `.rowNamesDF<-`(x, value = value): duplicate 'row.names' are not allowed
Traceback:
1. merge(sample_list[[1]], y = sample_list[c(2:3)], add.cell.ids = names(sample_list),
. project = "test")
2. merge(sample_list[[1]], y = sample_list[c(2:3)], add.cell.ids = names(sample_list),
. project = "test")
3. merge.Seurat(sample_list[[1]], y = sample_list[c(2:3)], add.cell.ids = names(sample_list),
. project = "test")
4. RenameCells(object = objects[[i]], add.cell.id = add.cell.ids[i])
5. RenameCells.Seurat(object = objects[[i]], add.cell.id = add.cell.ids[i])
6. RenameCells(object = object[[i]], new.names = unname(obj = new.cell.names[Cells(x = object[[i]],
. boundary = NA)]))
7. RenameCells.VisiumV1(object = object[[i]], new.names = unname(obj = new.cell.names[Cells(x = object[[i]],
. boundary = NA)]))
8. `rownames<-`(x = `*tmp*`, value = new.names[rownames(x = coordinates)])
9. `row.names<-`(`*tmp*`, value = value)
10. `row.names<-.data.frame`(`*tmp*`, value = value)
11. `.rowNamesDF<-`(x, value = value)
12. stop("duplicate 'row.names' are not allowed")
Seurat4.0系列教程3:合并兩個(gè)樣品的10x數(shù)據(jù)集在此,我們將合并兩個(gè) 10X PBMC 數(shù)據(jù)集:一個(gè)包含 4K 細(xì)胞涌庭,一個(gè)包含 8K 細(xì)胞嚼隘。數(shù)據(jù)集可以在這里[https://support.10xgenomics.com/...
軌跡分析系列: 單細(xì)胞之軌跡分析-1:RNA velocity[http://www.reibang.com/p/ee0f7a8e6a06] 擬時(shí)間序列分析(Pseudot...