Returns The number of items (molecules/cells) per features (gene/cell-type).

# S4 method for STGrid
tab(x)

Arguments

x

The STGrid object

Examples

example_dataset()
tab(Xenium_Mouse_Brain_Coronal_7g)
#> 
#>   Chat   Ebf3   Ano1  Kctd8   Nrp2 Necab2   Nwd2 
#>   2992   2998   4623   8344  26432  40324  67245