Skip to contents

Dotplot of the Effects of Perturbations on Factors

Usage

dotplot_beta_PIP(
  fit,
  target_names = NULL,
  reorder_targets = target_names,
  reorder_factors = NULL,
  exclude_offset = TRUE
)

Arguments

fit

An object of class "gsfa_fit"

target_names

Names of the perturbations, the default uses the row names in fit$posterior_means$beta_pm

reorder_targets

A subset or rearrangement of target_names if one wishes to visualize a subset of perturbations or rearrange their order

reorder_factors

A subset or rearrangement of factor indices if one wishes to visualize a subset of factors or rearrange their order

Value

A ggplot object.

Details

The size of a dot represents the PIP of association; the color represents the effect size.