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

a bug in auto_detect_tissue_type.R #68

Open
gnilihzeux opened this issue Sep 25, 2024 · 0 comments
Open

a bug in auto_detect_tissue_type.R #68

gnilihzeux opened this issue Sep 25, 2024 · 0 comments

Comments

@gnilihzeux
Copy link

Dear author,

there is a bug in auto_detect_tissue_type.R, in which is list below

data_type <- if (scaled) "scale.data" else "counts"
obj <- if (package_type == "5") {
          as.matrix(seuratObject[[assay]][data_type])
        } else {
          as.matrix(seuratObject[[assay]]@data_type)
        }

A right is below

data_type <- if (scaled) "scale.data" else "counts"
obj <- if (package_type == "5") {
          as.matrix(seuratObject[[assay]][data_type])
        } else {
          as.matrix(slot(seuratObject[[assay]], data_type))
        }   
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