Closed antoine4ucsd closed 1 year ago
Should be somewhere in the metadata(<DataFrame>)
of the DataFrame
returned by SingleR()
. Can't remember the exact name, though. Maybe it's metadata(<DataFrame>)$markers
.
checking now. thank you
I confirm! thank you so much
metadata(DATAFRAME)$de.genes
sorry this is not exactly it it shows all DE genes between all cell types. I am looking for the genes that are classifying each cell type...
See the appropriate section of the book:
all.markers <- metadata(pred.grun)$de.genes
beta.markers <- unique(unlist(all.markers$beta))
thank you (again)
Hello is there a simple way to view the genes that were used to classify/annotate the cells Garnett package has a function get_feature_genes that seems interesting. is there an equivalent in SingleR? https://cole-trapnell-lab.github.io/garnett/docs/#2-classifying-your-cells
thank you!