a new error encountered
Closed this issue · 2 comments
sengao86 commented
Hi,
I encountered an error when run deconvolution:
Error in nnls::nnls(A = W, b = count_mtrx[, i]): NA/NaN/Inf in foreign function call (arg 5)
Traceback:
- spotlight_deconvolution(se_sc = qin, counts_spatial = st_data[[1]]@assays$Spatial@counts[,
. 1:2], clust_vr = "majorCluster", cluster_markers = cell_type_markers,
. cl_n = 10, hvg = 300, ntop = NULL, transf = "uv", method = "nsNMF",
. min_cont = 0) - mixture_deconvolution_nmf(nmf_mod = nmf_mod_ls[[1]], mixture_transcriptome = counts_spatial,
. transf = transf, reference_profiles = ct_topic_profiles,
. min_cont = min_cont) - predict_spatial_mixtures_nmf(nmf_mod = nmf_mod, mixture_transcriptome = mixture_transcriptome,
. transf = transf) - nnls::nnls(A = W, b = count_mtrx[, i])
No idea why this happened.
Hope get some help, thanks!
MarcElosua commented
Hi @sengao86 ,
I see you have closed this issue, hope you were able to solve the error!
Please let me know if you need any additional assistance,
Marc
sengao86 commented
Hi @MarcElosua MarcElosua,
Yes the problem solved. Thanks!