check_sce | R Documentation |
This function checks that the sce
object has the appropriate structure.
This is a legacy function and we highly encourage you to use
SpatialExperiment-class
objects and check them with check_spe()
.
check_sce(
sce,
variables = c("GraphBased", "ManualAnnotation", "Maynard", "Martinowich",
paste0("SNN_k50_k", 4:28), "spatialLIBD", "cell_count", "sum_umi", "sum_gene",
"expr_chrM", "expr_chrM_ratio", "SpatialDE_PCA", "SpatialDE_pool_PCA", "HVG_PCA",
"pseudobulk_PCA", "markers_PCA", "SpatialDE_UMAP", "SpatialDE_pool_UMAP", "HVG_UMAP",
"pseudobulk_UMAP", "markers_UMAP", "SpatialDE_PCA_spatial",
"SpatialDE_pool_PCA_spatial", "HVG_PCA_spatial", "pseudobulk_PCA_spatial",
"markers_PCA_spatial", "SpatialDE_UMAP_spatial", "SpatialDE_pool_UMAP_spatial",
"HVG_UMAP_spatial", "pseudobulk_UMAP_spatial", "markers_UMAP_spatial")
)
sce |
Defaults to the output of
|
variables |
A |
The input object if all checks are passed.
Other Check input functions:
check_modeling_results()
,
check_sce_layer()
,
check_spe()
if (enough_ram()) {
## Obtain the necessary data
if (!exists("sce_example")) sce_example <- fetch_data("sce_example")
## Check the object
check_sce(sce_example)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.