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
fetch_data(spatialDLPFC_Visium_pseudobulk) provides a SpatialExperiment object which passes no checks out of
'check_spe', 'check_sce' or 'check_sce_layer'and no clear way to convert it for downstream applications
Provide a minimally reproducible example (reprex)
library(spatialLIBD)
sce_layer <- spatialLIBD::fetch_data(type = "spatialDLPFC_Visium_pseudobulk")
check_spe(sce_layer)
Error in check_spe(sce_layer) :
all(c("sample_id", "image_id", "data", "scaleFactor") %in% colnames(imgData(spe))) is not TRUE
check_sce(sce_layer)
Error in check_sce(sce_layer) :
"image" %in% names(metadata(sce)) is not TRUE
check_sce_layer(sce_layer)
Error in check_sce_layer(sce_layer) :
all(variables %in% colnames(colData(sce_layer))) is not TRUE
Expected behavior
The pseudobulk data is eminently useful for the function 'sig_genes_extract_all' as an input for 'sce_layer', however the provided objects heavily impacts reproducibility so the remotely hosted object should be shifted to a SingleCellExperiment class that passes 'check_sce_layer' for consistency sake.
Describe the bug
fetch_data(spatialDLPFC_Visium_pseudobulk) provides a SpatialExperiment object which passes no checks out of
'check_spe', 'check_sce' or 'check_sce_layer'and no clear way to convert it for downstream applications
Provide a minimally reproducible example (reprex)
library(spatialLIBD)
sce_layer <- spatialLIBD::fetch_data(type = "spatialDLPFC_Visium_pseudobulk")
check_spe(sce_layer)
Error in check_spe(sce_layer) :
all(c("sample_id", "image_id", "data", "scaleFactor") %in% colnames(imgData(spe))) is not TRUE
check_sce(sce_layer)
Error in check_sce(sce_layer) :
"image" %in% names(metadata(sce)) is not TRUE
check_sce_layer(sce_layer)
Error in check_sce_layer(sce_layer) :
all(variables %in% colnames(colData(sce_layer))) is not TRUE
Expected behavior
The pseudobulk data is eminently useful for the function 'sig_genes_extract_all' as an input for 'sce_layer', however the provided objects heavily impacts reproducibility so the remotely hosted object should be shifted to a SingleCellExperiment class that passes 'check_sce_layer' for consistency sake.
R Session Information
Indicate whether
BiocManager::valid()
returnsTRUE
.BiocManager::valid()
isTRUE
Is the package installed via bioconda?
No, Biocmanager
The text was updated successfully, but these errors were encountered: