fortify: fortify

fortify.compareClusterResultR Documentation

fortify

Description

convert compareClusterResult to a data.frame that ready for plot

convert enrichResult object for ggplot2

Usage

## S3 method for class 'compareClusterResult'
fortify(
  model,
  data,
  showCategory = 5,
  by = "geneRatio",
  split = NULL,
  includeAll = TRUE,
  ...
)

## S3 method for class 'enrichResult'
fortify(
  model,
  data,
  showCategory = 5,
  by = "Count",
  order = FALSE,
  drop = FALSE,
  split = NULL,
  ...
)

Arguments

model

'enrichResult' or 'compareClusterResult' object

data

not use here

showCategory

Category numbers to show

by

one of Count and GeneRatio

split

separate result by 'split' variable

includeAll

logical

...

additional parameter

order

logical

drop

logical

Value

data.frame

data.frame

Author(s)

Guangchuang Yu


GuangchuangYu/enrichplot documentation built on Nov. 8, 2024, 11:24 a.m.