plotClusterAbundance {singleCellTK} | R Documentation

## Plot the differential Abundance

### Description

Plot the differential Abundance

### Usage

    plotClusterAbundance(inSCE, cluster, variable)

### Arguments

`inSCE` | A `SingleCellExperiment` object.
`cluster` | A single `character`, specifying the name to store the cluster label in `colData`.
`variable` | A single `character`, specifying the name to store the phenotype labels in `colData`.

### Details

This function will visualize the differential abundance in two given variables, by making bar plots that presents the cell counting and fraction in different cases.

### Value

A `list` with 4 `ggplot` objects.

### Examples

    data("mouseBrainSubsetSCE", package = "singleCellTK")
    plotClusterAbundance(inSCE = mouseBrainSubsetSCE,
                         cluster = "tissue",
                         variable = "level1class")

[Package singleCellTK version 2.2.0 Index]