-
Notifications
You must be signed in to change notification settings - Fork 30
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
AverageHeatmap() function in Seurat v5 #43
Comments
hi @ziyuan-ma , A new # get cells mean gene expression
mean_gene_exp <- as.matrix(
data.frame(
Seurat::AverageExpression(object,
features = markerGene,
group.by = group.by,
assays = assays,
slot = slot
)
)
) Modify to: # get cells mean gene expression
mean_gene_exp <- as.matrix(
data.frame(
Seurat::AverageExpression(object,
features = markerGene,
group.by = group.by,
assays = assays,
layer = "yourSeuratObjLayerName" || "data"
)
)
) |
Thanks, I will fix this. |
Now you can re-install scRNAtoolVis and try averageHeatmap on Seruat V5. |
Hello, thanks for developing this wonderful visualization package! I have encountered some issues passing the Seurat v5 object to
AverageHeatmap()
function. Could you please advise how should I pull data from thedata
layer instead of from slot? Thank you!The text was updated successfully, but these errors were encountered: