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")
1 answer
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
Log in to answer this question.