hippo_diagnostic_plot: Create zero-inflation plot compared to reference Poisson line...

Description Usage Arguments Value Examples

View source: R/hippo.R

Description

Create zero-inflation plot compared to reference Poisson line (e^-x)

Usage

1
hippo_diagnostic_plot(sce, show_outliers = FALSE, zvalue_thresh = 10)

Arguments

sce

SingleCellExperiment object with count matrix

show_outliers

boolean to indicate whether to circle the outliers with given zvalue_thresh

zvalue_thresh

a numeric scalar z-value threshold. Genes with z-value higher than this threshold are marked as outliers when show_outliers is set to TRUE

Value

a diagnostic plot that shows proportions of zeroes against gene mean with zero inflation. Black line is the inverse exponential of gene mean. Outliers are circled in red.

Examples

1
2
data(toydata)
hippo_diagnostic_plot(toydata, show_outliers=TRUE, zvalue_thresh = 2)

tk382/HIPPO documentation built on Aug. 17, 2021, 2:29 p.m.