A function to plot the every cluster target genes GO enrichment.

plotGO(
  target,
  orgdb,
  N_top = 8,
  scale_size = c(2, 12),
  ont = "BP",
  clustering = TRUE
)

Arguments

target

The target genes result obtained by **getClusterTargetGenes**.

orgdb

The orgdb annotation package name.

N_top

The top N GO terms showing in the plot. Default: 8.

scale_size

The max and min value of dot size. Default: c(2,12).

ont

The GO type to enrich. Three type are available: "BP", "CC", "MP". Default: BP.

clustering

Whether to clutsering the GO terms. Default: TRUE.

Examples

  plotGO(target = res, orgdb= org.Hs.eg.db, N_top = 8, scale_size=c(2,12), ont = "BP", clustering = TRUE)
#> Error in eval(expr, envir, enclos): object 'res' not found