enrich_barplot: Make barplot of enrichment analysis.

View source: R/enrichment.R

enrich_barplotR Documentation

Make barplot of enrichment analysis.

Description

Make barplot of enrichment analysis.

Usage

enrich_barplot(obj, x = "GeneRatio", show_category = 10, title = "")

## S3 method for class 'enrichResult'
enrich_barplot(enr, x = "GeneRatio", show_category = 10, title = "")

## S3 method for class 'data.frame'
enrich_barplot(resdf, x = "GeneRatio", show_category = 10, title = "")

Arguments

obj

Results returned by enrichment_analysis

x

Which column used as x-axis

show_category

How many annotation terms to show.

title

Title of plot.

Methods (by class)

  • enrichResult: Barplot for enrichResult instance

  • data.frame: Barplot for data.frame


altairwei/brookite documentation built on Nov. 1, 2022, 7:03 p.m.