I have been attempting to run ReclusterCells on my Seurat object with the following command:
t_reclust <- ReclusterCells(data, which.clust = fibroblast_labels, merge.clusters = TRUE, is.integrated = TRUE, integration.ident = "dataset", use.sct = TRUE, k.vals = c(30, 40, 50), resolution.vals = c(.2, .3, .4), n.HVG = 4000, n.PC = 15, use.parallel = FALSE, redo.embedding = FALSE, random.seed = 312)
These is the latest print statements from the execution:
Finished calculating residuals for counts
Set default assay to SCT
|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=15m 04s
[1] 1
[1] 2
Warning: Assay integrated changing from Assay to SCTAssay
Error in { :
task 1 failed - "long vectors (argument 1) are not supported in .C"
In addition: There were 50 or more warnings (use warnings() to see the first 50)
When checking warnings(), these are the responses (the other 48 are identical to 30):
29: In glm.nb(formula = as.formula(new_formula), data = data) :
alternation limit reached
30: In theta.ml(Y, mu, sum(w), w, limit = control$maxit, trace = control$trace > ... :
iteration limit reached