streamgraphViewer | R Documentation |
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.
streamgraphViewer(Results, samples = NULL, clusters = NULL,
use.relative = FALSE, show.on_device = TRUE)
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 |
The order of samples in the 'samples' vector correspond to the order where the sample will be displayed.
a 'ggplot' object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.