Hello,
I am struggling to visualise my selected ROIs as masks over my image with v3.6.
With the previous version I used:
levels = makeFactor(L1 = ..., L2 = ..., ...)
image(MSIobject, levels ~ x * y, key=T)
However, I now get the error:
Error in rep.int(list(X), nrow(vals)) :
invalid type (NULL) for 'times' (must be a vector)
If I attach it to the spectra data I can generate the masks, but I lose the factor names
spectra(cal_mix, "levels") = t(levels)
Is there a better way to do this?
Best wishes,
Matt