ZJUFanLab/scCATCH

ERROR : unable to find an inherited method for function ‘findmarkergene’ for signature ‘"Seurat"’

levinhein opened this issue · 3 comments

Hello. May I ask how to resolve this error?

obj <- findmarkergene(object = KD.harmony, species = "Human", marker = cellmatch, tissue = "Blood")

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘findmarkergene’ for signature ‘"Seurat"’

Thank you.

Hello, the latest version of scCATCH does not need Seurat object. You can follow the tutorial to use a scCATCH object instead.

Hello- similar issue but when I go to make a ssCATCH object I get an error too:
obj <- createscCATCH(data = CPobj, cluster = CPobj_clusters)
Error in createscCATCH(data = CPobj, cluster = CPobj_clusters) :
count is not a matrix or dgCMatrix! See demo_data()

You can try obj <- createscCATCH(data = as.matrix(CPobj), cluster = CPobj_clusters)