Monocle3 garnett
0
0
Entering edit mode
6 months ago
odi ▴ 10

I am trying to annotate my cells using garnett, but i keep getting this error at this stage.

Error: is(object = cds, class2 = "CellDataSet") is not TRUE.

Here is my code: library(garnett) library(org.Mm.eg.db) classifier <- readRDS("./mmLung_20191017.RDS")

trac <- classify_cells(trac, classifier, db = org.Mm.eg.db, cluster_extend = TRUE, cds_gene_id_type = "SYMBOL")

Please help me!

monocle3 garnett • 408 views
ADD COMMENT
0
Entering edit mode

The message is telling you that trac is not a CellDataSet object. How did you create it? if you processed your data with an external tool (e.g. scanpy or seurat), you need to properly convert it to cds before running garnett.

ADD REPLY

Login before adding your answer.

Traffic: 1395 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6