Learn R Programming

quollr (version 0.3.7)

gen_edges: 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)

Value

A tibble that contains the edge information, including the from-to relationships and the corresponding x and y coordinates.

Arguments

tri_object

The triangular object from which to generate edge information.

a1

A numeric value for bin width.

Examples

Run this code
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)

Run the code above in your browser using DataLab