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

Scale.data not found in Seurat object #25

Open
anushasjoshi opened this issue Oct 31, 2022 · 3 comments
Open

Scale.data not found in Seurat object #25

anushasjoshi opened this issue Oct 31, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@anushasjoshi
Copy link

I am trying to generate a heatmap from the plot_heatmap function but I am running into this error of ERROR in rownames(dataset@assays$integrated@scale.data): "Trying to get slot "scale.data" from an object of a basic class ("NULL") with no slots, although there is a slot named scale.data in my seurat object. How can I solve this issue?

@anushasjoshi anushasjoshi added the bug Something isn't working label Oct 31, 2022
@jiaqilux
Copy link

I have the same issue..

@denvercal1234GitHub
Copy link

denvercal1234GitHub commented Nov 24, 2022

Hi @Zhongqige - Same issue, because my Seurat object is not an integrated object. It is just a simple merge of different sample. So there will not be an Integrated Assay for the Seurat object.

@matasV99
Copy link

matasV99 commented May 1, 2023

not sure if I understand you correctly, but one of the fixes is to run this before plot_heatmap: " seurat_obj@assays$integrated <- seurat_obj@assays$SCT
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants