Seurat problem
0
0
Entering edit mode
17 months ago
sandy • 0

Good afternoon,

I have a question about seurat analysis problem.

My study combined three dataset. After I integrate the data from three database together, I run following steps:

DefaultAssay(pancreatic) <- "integrated"
pancreatic<-ScaleData(pancreatic)

pancreatic <- RunPCA(pancreatic, npcs = 20, verbose = FALSE)

pdf("elbow_combine.pdf", width = 6, height = 6)
ElbowPlot(pancreatic) #this is to help you select how many pcs to use
dev.off()

saveRDS(pancreatic,'pancreatic.rds'). 

Then I meet an error, please give me some suggestions to solve the problem.

Error in idx[i, ] <- res[[i]][[1]] : 
  number of items to replace is not a multiple of replacement length
seurat R • 774 views
ADD COMMENT
0
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 1795 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