gg_silva: Plot forest of GSEA terms

Description Usage Arguments

Description

This function is the backend for rich_forest.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gg_silva(
  plot_df,
  AP,
  extend_x_neg = 1,
  extend_x_pos = 1,
  ladder_step = 1,
  band_width = 0.3,
  label_shift_ratio = 0.05,
  shrink_ratio = 1,
  nudge_y = 1,
  ...
)

Arguments

extend_x_neg

how much percentage to extend along the left side of

the x axis to prevent the gene label text from being cut off.

extend_x_pos

how much percentage to extend along the right side of the x axis to prevent the gene label text from being cut off.

ladder_step

how much should the two bars by separated from each other. Empirically, I did not find this argument useful.

band_width

the thickness of each bar

label_shift_ratio

by what percentage along the x axis to shift the term labels

shrink_ratio

by how much the fontsize of the labels should decrease

nudge_y

by how much the arrow and its labels to shift vertically up from the maximum value along the y axis

...

arguments for sagittae

band_ratio

how much thicker the arrow should be compared to the arrow_thickness field in AP.


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.