| ggdot,richResult-method | R Documentation | 
dotplot for Enrichment results
dotplot for Enrichment results
## S4 method for signature 'richResult'
ggdot(
  object,
  top = 50,
  pvalue = 0.05,
  order = FALSE,
  low = "lightpink",
  high = "red",
  alpha = 0.7,
  font.x = "bold",
  font.y = "bold",
  fontsize.x = 10,
  fontsize.y = 10,
  short = FALSE,
  padj = NULL,
  usePadj = TRUE,
  orderp = FALSE,
  filename = NULL,
  width = 10,
  height = 8
)
## S4 method for signature 'data.frame'
ggdot(
  object,
  top = 50,
  pvalue = 0.05,
  order = FALSE,
  low = "lightpink",
  high = "red",
  alpha = 0.7,
  font.x = "bold",
  font.y = "bold",
  fontsize.x = 10,
  fontsize.y = 10,
  short = FALSE,
  padj = NULL,
  usePadj = TRUE,
  orderp = FALSE,
  filename = NULL,
  width = 10,
  height = 8
)
object | 
 richResult object  | 
top | 
 number of terms you want to display,  | 
pvalue | 
 cutoff value of pvalue (if padj set as NULL)  | 
order | 
 order by Term or richFactor  | 
low | 
 low color  | 
high | 
 high color  | 
alpha | 
 transparency alpha  | 
font.x | 
 font of x axis  | 
fontsize.x | 
 fontsize of x axis  | 
fontsize.y | 
 fontsize of y axis  | 
short | 
 automatic short name or not  | 
padj | 
 cutoff value of p adjust value  | 
usePadj | 
 use p adjust value as color or not (should use with padj)  | 
orderp | 
 order by p value(adjusted p value)  | 
filename | 
 figure output name  | 
width | 
 figure width  | 
height | 
 figure height  | 
font | 
 y font of y axis  | 
font.size | 
 font size for xlim or ylim  | 
Kai Guo
## Not run: 
  hsako<-buildAnnot(species="human",keytype="SYMBOL",anntype = "KEGG")
  gene=sample(unique(hsako$GeneID),1000)
  res<-richKEGG(gene,kodata = hsako)
  ggdot(res)
## End(Not run)
## Not run: 
  hsago<-buildAnnot(species="human",keytype="SYMBOL",anntype = "KEGG")
  gene=sample(unique(hsago$GeneID),1000)
  res<-richKEGG(gene,kodata = hsako)
  ggdot(result(res))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.