plotBatchNormQC: plotBatchNormQC

Description Usage Arguments Value Examples

View source: R/ascend_plots.R

Description

Creates a boxplot that depicts the library sizes of each batch in a dataset. This function is for the comparison of pre- and post- batch-normalised datasets that have been loaded into an EMSet. Cells found in these datasets must have the same identifiers.

Usage

1
plotBatchNormQC(raw_object = NULL, norm_object = NULL)

Arguments

raw_object

Dataset prior to batch normalisation

norm_object

Dataset after batch normalisation

Value

A boxplot created with ggplot2

Examples

1
2
3
4
5
6
7
8
# Load example EMSet 
raw_object <- ascend::raw_set

# Run batch normalisation
norm_object <- normaliseBatches(raw_object)

# Generate plot
plot <- plotBatchNormQC(raw_object = raw_object, norm_object = norm_object)

IMB-Computational-Genomics-Lab/ascend documentation built on Aug. 29, 2019, 4:10 a.m.