Skip to content

position parameter bug for RunMCA.Seurat() #18

@MingLi-929

Description

@MingLi-929

CelliD/R/mca.R

Line 77 in e306b43

data_matrix <- as.matrix(GetAssayData(X, slot))

Here,should add the

 data_matrix <- as.matrix(GetAssayData(X, slot=slot)) 

or it will return bug with

r$> data_matrix <- as.matrix(GetAssayData(brain, "data"))
Error in `GetAssayData()`:
! `assay` must be one of "Spatial" or "SCT", not "data".

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