scAI icon indicating copy to clipboard operation
scAI copied to clipboard

No error when running but does not appear to be converging.

Open wmorgans opened this issue 2 years ago • 0 comments

Hi,

I am currently trying to run scAI. There are no runtime errors (or warnings which would indicate what is happening) but the learned matrix H (from [email protected]) and W contain only very small values. It looks like the method might not be converging.

scAI_outs <- create_scAIobject(raw.data = list(seurat_obj@assays$rna@counts, seurat_obj@assays$atac@counts), do.sparse = T) 
scAI_outs <- preprocessing(scAI_outs, assay = NULL)
scAI.fit <- run_scAI(sc_AI_obj, K = 20, nrun = 1, do.fast = T)

Please let me know if you can see an error in the code I've provided or you have an idea what the issue is.

Best, Will

wmorgans avatar Sep 11 '23 16:09 wmorgans