You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in FUN(X[[i]], ...) : no slot of name "counts" for this object of class "Assay5"
3. FUN(X[[i]], ...)
2. lapply(1:n_bootstrap, get_ave_exp, myseurat, samples, myident) atC:\Users\Administrator\AppData\Local\Temp\RtmpWUlcOq\rstudio-scratch-233013cd6afa.R#6
calculate_avg_exp(sce, "orig.ident", 1000, 2024)
I guess it's a problem with seuratV5 but found no specific information on how to solve this. My seurat object indeed has the counts layer.
sce
An object of class Seurat
51795 features across 35412 samples within 1 assay
Active assay: RNA (51795 features, 2000 variable features)
3 layers present: data, counts, scale.data
4 dimensional reductions calculated: pca, umap, harmony, UMAP_harmony
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
I've encountered similar issue.
Also, I think METAFlux package is not compatible with Seurat v5, yet.
Therefore, in Issue #5, I generated new codes for calculate_avg_exp() function by editing its source codes.
Also, I slightly changed these codes, from Issue #5, in order to get counts matrix from seurat v5 object.
For Seurat v5, I think it will be working if you execute below codes and use 'edit_calculate_avg_exp()' function instead of 'calculate_avg_exp()'.
All parameters are same with vignette.
Great! Thanks for your kind sharing code! @yechanYS
It worked after adjusting the source code. And I notice seuratV5 recommend using AggrerateExpression to perform pseudobulk analysis, maybe it is relevant. Anyway, again thank you very much!
Hi,
I encountered an error when computing averaged expression values from the seurat object.
Error
I guess it's a problem with seuratV5 but found no specific information on how to solve this. My seurat object indeed has the counts layer.
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: