Seurat Integrated Analysis (RunMultiCCA)
1
0
Entering edit mode
5.3 years ago
Bios ▴ 10

Does anyone know how I should fix the error of unused arguments? I added add.cell.id because there are duplicate cell names, but now it says unused arguments and I'm unsure how to fix this. Here's my code below:

multiCCA_list<- list(WT_S, WT_H, KO_S, KO_H)

asthma.combined4Datasets <- RunMultiCCA(object.list = multiCCA_list, genes.use = genes.use, num.cc = 30, add.cell.id1 = "WT_S", add.cell.id2 = "WT_H", add.cell.id3 = "KO_S", add.cell.id4 = "KO_H")

The error in RunMultiCCA says:

unused arguments (add.cell.id1 = "WT_S", add.cell.id2 = "WT_H", add.cell.id3 = "KO_S", add.cell.id4 = "KO_H")

RNA-Seq R • 2.7k views
ADD COMMENT
0
Entering edit mode
5.3 years ago

RunMultiCCA doesn't take those arguments that you are trying to pass

RunMultiCCA(object.list, genes.use, add.cell.ids = NULL, niter = 25, num.ccs = 1, standardize = TRUE)

Instead you may use add.cell.ids which takes a vector

add.cell.ids    Vector of strings to pass to RenameCells to give unique cell names
ADD COMMENT

Login before adding your answer.

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