simspec icon indicating copy to clipboard operation
simspec copied to clipboard

Problem CSS with corr_method

Open tsterv opened this issue 2 years ago • 1 comments

Hello it's me again ! Sorry to bother you so much ^^

I get this error when running CSS:

Data_MergeCSS <- cluster_sim_spectrum(object = Data_MergeCSS, label_tag = "orig.ident",
                                       cluster_resolution = 0.4,
                                       corr_method = "pearson",
                                       spectrum_type = "corr_kernel")

Error in Matrix(profiles) : invalid 'data'

Searching in the code, I may have found the function that blocks => qclMatrix::corSparse(data, Matrix(profiles)) but I haven't found the solution to solve it

When i remove the corr_method from the command, i get this one : Error in .M.kind(x) : "kind" not yet defined for objects of type "NULL"

I think my matrix is the problem but I don't necessarily see any difference with yours.

If you have a solution that would be great!

Thomas

tsterv avatar Feb 03 '23 16:02 tsterv

Sorry for no reply for such a long time. Are you still trying CSS and is the problem still there?

zhisonghe avatar Oct 06 '23 11:10 zhisonghe