streamgraphViewer: Visualization of cluster abundance dynamics

streamgraphViewerR Documentation

Visualization of cluster abundance dynamics

Description

The Streamgraph Viewer aims to visualize both absolute and relative abundance of clusters across the samples. This representation displays cell abundances using a stacked area graph which is placed around a central axis.

The cell clusters to visualize must be specified using the 'clusters' parameter. Moreover, samples to be represented and their orders can be specified using the 'samples' parameter.

Usage

streamgraphViewer(Results, samples = NULL, clusters = NULL,
  use.relative = FALSE, show.on_device = TRUE)

Arguments

Results

a 'Results' object

samples

a character vector providing the sample names to used (all samples by default)

clusters

a character vector containing the clusters names to be visualized

use.relative

a logical specifying if the visualization should be performed on relative abundance

show.on_device

a logical specifying if the representation will be displayed on device

Details

The order of samples in the 'samples' vector correspond to the order where the sample will be displayed.

Value

a 'ggplot' object


tchitchek-lab/SPADEVizR documentation built on Jan. 27, 2024, 8:58 p.m.