plot_hist_dPSI: Plot the dPSI as an histogram using ggplot2

View source: R/vst_plot.R

plot_hist_dPSIR Documentation

Plot the dPSI as an histogram using ggplot2

Description

Plot the dPSI as an histogram using ggplot2

Usage

plot_hist_dPSI(data, by_complex = FALSE)

Arguments

data

A data.frame that has at least one column called 'dPSI'

by_complex

Logical, whether to split the histogram by AS event complexity/type. Uses vast-tools tables "COMPLEX" column.

Value

A ggplot2 plot

Examples

read_vst_tbl(path = 'path/to/compare/inclusion/tbl', show_col_types = FALSE) |>
   tidy_vst_psi(verbose = FALSE) |>
   hist_dPSI(by_complex = TRUE)

Ni-Ar/niar documentation built on Feb. 3, 2025, 9:25 a.m.