sim_emap: Plot enrichment pie chart with simplified terms

Description Usage Arguments Author(s)

View source: R/sim_emapplot.R

Description

Plot enrichment pie chart with simplified terms

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
sim_emap(
  x,
  showCategory = 30,
  rename_vec = NULL,
  color = "p.adjust",
  layout = "nicely",
  split = NULL,
  pie = "equal",
  legend_n = 5,
  cex_category = NULL,
  pie_scale = NULL,
  cex_line = 1,
  min_edge = 0.2,
  cex_label_category = 1,
  node_label_size = NULL,
  show.legend = F,
  vert_just = 1,
  repel_text = T,
  force_repel = 1,
  AP = NULL
)

Arguments

split

separate result by 'category' variable

pie

proportion of clusters in the pie chart, one of 'equal' (default) or 'Count'

legend_n

number of circle in legend

pie_scale

scale of pie chart or point, this parameter has been changed to "node_scale"

cex_line

scale of line width

min_edge

minimum percentage of overlap genes to display the edge, should between 0 and 1, default value is 0.2

vert_just

vertically adjust the label position to prevent overlap with the pie

repel_text

whether to use ggrepel

force_repel

how far the labels are repelled from the original locations

Author(s)

Guangchung Yu


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