MarcElosua/SPOTlight

Error: object 'count_mtrx' not found

Closed this issue · 1 comments

ph329 commented

Hi,

I'm getting the following error at the "Training...." step when trying to run spotlight_deconvolution when transf is set to either "sct" or "cpm":

Error in NMF::nmf(x = count_mtrx, rank = k, seed = nmf_init, method = method) :
object 'count_mtrx' not found

It works perfectly with transf = "raw" or "uv" so the issue seems to be related to the transformation type itself. Any idea? Thanks!

Hi @ph329,
Sorry for the delayed answer, and thanks for reporting this. I must have forgotten to change the description of the transf variable since SCT is no longer supported. You can do so with the raw command and passing the SCT@data slot instead of the raw counts slot.
I will update this right away!
Thanks,
Marc