gen_edges {quollr} | R Documentation |
Generate edge information
Description
This function generates edge information from a given triangular object, including the coordinates of the vertices and the from-to relationships between the vertices.
Usage
gen_edges(tri_object, a1)
Arguments
tri_object |
The triangular object from which to generate edge information. |
a1 |
A numeric value for bin width. |
Value
A tibble that contains the edge information, including the from-to relationships and the corresponding x and y coordinates.
Examples
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
df_bin_centroids <- extract_hexbin_centroids(counts_data = counts_data,
centroids_data = all_centroids_df)
tr1_object <- tri_bin_centroids(centroids_data = df_bin_centroids)
gen_edges(tri_object = tr1_object, a1 = scurve_model_obj$hb_obj$a1)
[Package quollr version 0.3.7 Index]