Skip to content

scPredict error #26

@reesyxan

Description

@reesyxan

When running scPredict from the vignette pipeline, I get an error with scPredict:

query <- scPredict(query, reference)
● Matching reference with new dataset...
─ 2000 features present in reference loadings
─ 2000 features shared between reference and new dataset
─ 100% of features in the reference are present in new dataset
Error in GetAssayData():
! assay must be one of "RNA", not "data".
Backtrace:

  1. scPred::scPredict(query, reference)
  2. scPred::project_query(...)
  3. SeuratObject:::GetAssayData.Seurat(assay = "data")

I have not kept up with Seurat updates, did they change assay names recently that might cause this to fail? I verified that GetAssayData(query) does return assay data and it is of type "RNA". Same for reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions