ZJUFanLab / scCATCH

Automatic Annotation on Cell Types of Clusters from Single-Cell RNA Sequencing Data
https://www.sciencedirect.com/science/article/pii/S2589004220300663
GNU General Public License v3.0
216 stars 38 forks source link

No matched potential marker genes in the matrix! #55

Closed Elena983 closed 1 year ago

Elena983 commented 1 year ago
Error in findmarkergene(object = obj, species = "Human", marker = cellmatch,  : 
  No matched potential marker genes in the matrix!

Hello

I received this error. What can I do in this case?

multitalk commented 1 year ago

Do you define the parameter of tissue in findmarkergene. Generally, this function is used like the following:

obj <- findmarkergene(object = obj, species = "Human", marker = cellmatch, tissue = "Kidney")
Elena983 commented 1 year ago

Yes

> obj <- findmarkergene(object = obj,
+                       species = "Human",
+                       marker = cellmatch,
+                       cancer = "Liver Cancer",
+                      tissue = "Liver")
Error in findmarkergene(object = obj, species = "Human", marker = cellmatch,  : 
  No matched potential marker genes in the matrix!
In addition: Warning message:
In .filter_marker(marker, species, cancer, tissue) :
  There are only 42 potential marker genes in CellMatch database for Human Liver Cancer on Liver!
multitalk commented 1 year ago

There are only 42 markers under this condtion. image

Maybe you can try

obj <- findmarkergene(object = obj, species = "Human", marker = cellmatch, tissue = "Liver")
Elena983 commented 1 year ago

image

multitalk commented 1 year ago

I doubt that the gene names in obj are not human's official symbols. Can you show me the rownames(obj@data$ndata)[1:10]?

Elena983 commented 1 year ago

image

multitalk commented 1 year ago

The gene names are not human's official symbols! You should change them to human's or set a right species

Elena983 commented 1 year ago

Give me example of these symbols please

multitalk commented 1 year ago

"BTG1", “C1QB”, "C1QC"