R/st_grid_class.R
check_features_exist-STGrid-method.RdCheck all specified features exist in an STGrid object.
# S4 method for STGrid
check_features_exist(object, feat_list, no_meta = FALSE)The STGrid object
The list of features to be tested.
Whether meta features should not be considered. Default is FALSE.
example_dataset()
#> |-- INFO : Dataset 11284233/files/Xenium_Mouse_Brain_Coronal_7g was already loaded.
check_features_exist(Xenium_Mouse_Brain_Coronal_7g, "Ano1")
#> [1] TRUE
check_features_exist(Xenium_Mouse_Brain_Coronal_7g, "foo")
#> [1] FALSE