CommPath data erro,can you tell me how to resolve?
Opened this issue · 2 comments
sunxm9 commented
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 commented
class(label)
[1] "factor"
class(ex)
[1] "matrix" "array"
yingyonghui commented
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