Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

position parameter bug for RunMCA.Seurat() #18

Open
MingLi-929 opened this issue Aug 22, 2023 · 1 comment
Open

position parameter bug for RunMCA.Seurat() #18

MingLi-929 opened this issue Aug 22, 2023 · 1 comment

Comments

@MingLi-929
Copy link

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".
@MingLi-929
Copy link
Author

this bug come with

r$> packageVersion("Seurat")
[1] ‘4.9.9.9059’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant