Skip to content

Error: Returning missing names #1

@twoneu

Description

@twoneu

Hello Dr. Laffy,

I am attempting to use the score function to assign geneset scores to individual cells, but I am encountering the following error:

scrabble::score(mat = as.matrix(seuratobj@assays$RNA@counts), groups = c(geneset1, geneset2, geneset3, geneset4))

Error: Returning missing name(s)...
CCN1
WARS1
MARCHF1
CCN2
CCN1
Error in .check_missing(Group = Group, ref = bins): 
Traceback:

1. scrabble::score(mat = as.matrix(tams_processed@assays$RNA@counts), 
 .     groups = c(tnfa, il2, infg, emt), nbin = 36)
2. binmatch(Group = groups, bins = bins, n = n, replace = replace)
3. .match_bins(Group = Group, bins = bins)
4. .check_missing(Group = Group, ref = bins)
5. stop(cat(c(err, missing), sep = "\n"))

I tried increasing nbins but the error persists. What next steps should I try?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions