dotplot: dotplot

Description Usage Arguments Value Author(s) Examples

Description

dotplot for enrichment result

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
dotplot(object, ...)

## S4 method for signature 'enrichResult'
dotplot(
  object,
  x = "GeneRatio",
  color = "p.adjust",
  showCategory = 10,
  size = NULL,
  split = NULL,
  font.size = 12,
  title = "",
  label_format = 30,
  ...
)

## S4 method for signature 'gseaResult'
dotplot(
  object,
  x = "GeneRatio",
  color = "p.adjust",
  showCategory = 10,
  size = NULL,
  split = NULL,
  font.size = 12,
  title = "",
  label_format = 30,
  ...
)

Arguments

object

input object

...

additional parameters

x

variable for x-axis, one of 'GeneRatio' or 'Count'

color

variable that used to color enriched terms, e.g. pvalue, p.adjust or qvalue

showCategory

number of enriched terms to display

size

variable that used to scale the sizes of categories

split

separate result by 'category' variable

font.size

font size

title

plot title

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels. by default wraps names longer that 30 characters

Value

plot

Author(s)

guangchuang yu

Examples

1
2
3
4
5
library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
dotplot(x)

Example output

DOSE v3.16.0  For help: https://guangchuangyu.github.io/software/DOSE

If you use DOSE in published research, please cite:
Guangchuang Yu, Li-Gen Wang, Guang-Rong Yan, Qing-Yu He. DOSE: an R/Bioconductor package for Disease Ontology Semantic and Enrichment analysis. Bioinformatics 2015, 31(4):608-609

wrong orderBy parameter; set to default `orderBy = "x"`

enrichplot documentation built on Jan. 30, 2021, 2:01 a.m.