viz_enrich-ClusterSet-method: Visualization of enrichment analyses results from a...

viz_enrich,ClusterSet-methodR Documentation

Visualization of enrichment analyses results from a ClusterSet object

Description

Display enrichment analyses results for a ClusterSet object.

Usage

## S4 method for signature 'ClusterSet'
viz_enrich(
  object,
  clusters = "all",
  type = c("dotplot", "barplot"),
  nb_terms = 20,
  terms_size = 50,
  font_size = 4
)

Arguments

object

A ClusterSet object.

clusters

A vector of cluster id to plot.

type

A vector providing the type of plot.

nb_terms

An integer indicating the number of terms in the plot.

terms_size

An interger indicating the wrap length of terms

font_size

The font size for the x axis.

Value

A ClusterSet object

Examples

load_example_dataset("8028226/files/pbmc3k_medium_clusters_enr_sub")
viz_enrich(pbmc3k_medium_clusters_enr_sub, cluster = 1, nb_terms = 5)

dputhier/scigenex documentation built on May 31, 2024, 8:59 a.m.