Skip to contents

Function plots the uc distance from uc_distance_dataset. Be careful, as uc_distance_dataset contains distances calculated using different methods, as described in vignette TODO.

Usage

plot_uc_real_dist(
  uc_distance_dataset,
  squared = FALSE,
  fractional = TRUE,
  interactive = FALSE
)

Arguments

uc_distance_dataset

...

squared

indicator if the uc distance is squared

fractional

...

interactive

logical, true for GUI

Value

a ggiraph object.

See also

create_uc_distance_dataset

Examples

kin_dat_1 <- prepare_kin_dat(alpha_dat, state = unique(alpha_dat[["State"]])[1])
kin_dat_2 <- prepare_kin_dat(alpha_dat, state = unique(alpha_dat[["State"]])[2])
uc_distance_dataset <- create_uc_distance_dataset(kin_dat_1, kin_dat_2)
plot_uc_real_dist(uc_distance_dataset)