extract_hexbin_mean | R Documentation |
Extract hexagonal bin mean coordinates and the corresponding standardize counts.
extract_hexbin_mean(data_hb, counts_data, centroids_data)
data_hb |
A tibble with embedding components and hexagonal bin IDs. |
counts_data |
A tibble that contains hexagon IDs with the standardise number of points within each hexagon. |
centroids_data |
A tibble that contains all hexagonal bin centroid coordinates with hexagon IDs. |
A tibble contains hexagon ID (h
), bin means (c_x
, c_y
),
bin counts (n_h
), and standardise counts (w_h
).
all_centroids_df <- scurve_model_obj$hb_obj$centroids
counts_data <- scurve_model_obj$hb_obj$std_cts
umap_with_hb_id <- scurve_model_obj$hb_obj$data_hb_id
extract_hexbin_mean(data_hb = umap_with_hb_id, counts_data = counts_data,
centroids_data = all_centroids_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.