Dear SCRAN developers,
Hello, I am writing an issue because I have a questions.
genes <- !grepl(pattern = "^Rp[l|s]|Mt", x = rownames(brca.sce))
I converted the single cell seurat object as a reference into a SingleCellExperiment object (-> brca.sce) and used that data to save the "genes".
mgs <- scoreMarkers(brca.sce, subset.row = genes)
After going through the scoremarkers function, this error occurred.
Error in FUN(x, table, nomatch = nomatch, incomparables = incomparables) :
'match' requires vector arguments
5. FUN(x, table, nomatch = nomatch, incomparables = incomparables)
4. match(desired.comparisons, averaged.comparisons)
3. match(desired.comparisons, averaged.comparisons)
2. .cross_reference_to_desired(pre.ave$averaged.comparisons, desired.comparisons, collapse.symmetric = collapse.symmetric)
1. scoreMarkers(brca.sce, row.data = genes, groups = brca.sce$celltype_major)
I would really appreciate it if you let me know if there is a solution. Thank you!
Best,
EUNHA