This function computes the standardize number of points within each hexagon.
Examples
umap_with_hb_id <- s_curve_obj$s_curve_umap_hb_obj$data_hb_id
compute_std_counts(data_hb = umap_with_hb_id)
#> # A tibble: 15 × 3
#> hb_id n std_counts
#> <int> <int> <dbl>
#> 1 1 17 0.0302
#> 2 2 169 0.300
#> 3 3 34 0.0604
#> 4 5 431 0.766
#> 5 6 430 0.764
#> 6 7 407 0.723
#> 7 8 57 0.101
#> 8 11 82 0.146
#> 9 12 367 0.652
#> 10 13 442 0.785
#> 11 14 478 0.849
#> 12 15 563 1
#> 13 17 26 0.0462
#> 14 18 149 0.265
#> 15 19 98 0.174