dot-piarwise_upset: Generate upset plots for DEG between a comparison.

.piarwise_upsetR Documentation

Generate upset plots for DEG between a comparison.

Description

This function called from plot_deg_upsets().

Usage

.piarwise_upset(
  x,
  sample_comparison,
  color_up = "#b30000",
  color_down = "#006d2c",
  ...
)

Arguments

x

an abject of class "parcutils". This is an output of the function run_deseq_analysis().

sample_comparison

a character vector of length 2 denoting sample comparisons between upset plot to be generated.

color_up

a character string denoting a valid color code for bars in upset plot for up regulated genes.

color_down

a character string denoting a valid color code for bars in upset plot for down regulated genes.

...

other arguments to be passed to UpSetR::upset().

Value

an object of named list where each element is a list of two - 1) an upset plots UpSetR::upset() and their intersections in form of tibble.


cparsania/parcutils documentation built on Oct. 27, 2024, 4:55 a.m.