Skip to content

! assay must be one of "RNA", not "data". #3

Description

@tt-dd-tt

Hi, I tried using DevKidCC but I'm always coming across this error:

organoid <- DKCC(organoid)
Normalizing layer: counts
Performing log-normalization
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
● Matching reference with new dataset...
─ 9977 features present in reference loadings
─ 7520 features shared between reference and new dataset
─ 75.37% of features in the reference are present in new dataset
Error in GetAssayData():
! assay must be one of "RNA", not "data".
Run rlang::last_trace() to see where the error occurred.
rlang::last_trace()
<error/rlang_error>
Error in GetAssayData():
! assay must be one of "RNA", not "data".


Backtrace:

  1. └─DevKidCC::DKCC(organoid)
  2. └─scPred::scPredict(...)
  3. └─scPred::project_query(...)
    
  4.   ├─SeuratObject::GetAssayData(new, "data")
    
  5.   └─SeuratObject:::GetAssayData.Seurat(assay = "data")
    

Run rlang::last_trace(drop = FALSE) to see 4 hidden frames.

rlang::last_trace(drop = FALSE)
<error/rlang_error>
Error in GetAssayData():
! assay must be one of "RNA", not "data".


Backtrace:

  1. ├─DevKidCC::DKCC(organoid)
  2. │ └─scPred::scPredict(...)
  3. │ └─scPred::project_query(...)
  4. │ ├─SeuratObject::GetAssayData(new, "data")
  5. │ └─SeuratObject:::GetAssayData.Seurat(assay = "data")
  6. │ └─rlang::arg_match(arg = assay, values = Assays(object = object))
  7. │ └─rlang::arg_match0(arg, values, error_arg, error_call = error_call)
  8. └─rlang:::stop_arg_match(w, values = x, error_arg = y, error_call = z)
  9. └─rlang::abort(msg, call = error_call, arg = error_arg)

Wondering if you could help to get this working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions