plot_profiles_selected: plot_profiles_selected

View source: R/functions_util.R

plot_profiles_selectedR Documentation

plot_profiles_selected

Description

plot_profiles_selected

Usage

plot_profiles_selected(
  profile_dt,
  qtall_vars,
  id_to_plot,
  color_mapping = NULL
)

Arguments

profile_dt

a tidy data.table containing profile data. variable names are id, tall_var, wide_var, x, y.

qtall_vars

character vector of tall_vars to show data for.

id_to_plot

character vector of ids to show data for.

color_mapping

color_mapping for wide_vars.

Value

a ggplot

Examples

data(profile_dt)
plot_profiles_selected(profile_dt,
    qtall_vars = unique(profile_dt$tall_var)[1:2],
    id_to_plot = unique(profile_dt$id)[1:3]) +
    theme(panel.spacing = unit(.04, "npc"))

jrboyd/seqtsne documentation built on Nov. 5, 2022, 6:37 a.m.