R/st_grid_class.R
nb_items.RdReturns the number of x/y items (e.g. molecules or cells) stored in a STGrid object.
nb_items(x)The STGrid object
example_dataset()
#> |-- INFO : Dataset 11284233/files/Xenium_Mouse_Brain_Coronal_7g was already loaded.
nb_items(Xenium_Mouse_Brain_Coronal_7g)
#> [1] 152958