CommPath icon indicating copy to clipboard operation
CommPath copied to clipboard

CommPath data erro,can you tell me how to resolve?

Open sunxm9 opened this issue 2 years ago • 2 comments

tumor.obj <- createCommPath(expr.mat = ex,

  •                         cell.info = label, 
    
  •                         species = "hsapiens")
    

Error in .m2sparse(from, "dgC") : invalid type "character" in R_matrix_as_sparse() my data seems as same as your sample,but it doesn't work

sunxm9 avatar Oct 09 '23 04:10 sunxm9

class(label) [1] "factor" class(ex) [1] "matrix" "array"

sunxm9 avatar Oct 09 '23 04:10 sunxm9

Sorry for the late response. Could you kindly furnish an example dataset that I can utilize to replicate the error and debug the package?

Best, Yonghui

yingyonghui avatar Oct 13 '23 02:10 yingyonghui