Re-bin a STGrid object.
# S4 method for STGrid
re_bin(object, bin_size, verbose = TRUE)The STGrid object.
The size of the bin.
Whether to be display progress bar.
example_dataset()
res <- re_bin(Xenium_Mouse_Brain_Coronal_7g, bin_size=10)
#>
|
| | 0%
|
|======= | 14%
|
|============== | 29%
|
|===================== | 43%
|
|============================= | 57%
|
|==================================== | 71%
|
|=========================================== | 86%
|
|==================================================| 100%
#>