Plot distribution of expression values

distro_expr(rld, plot_type = "density")

Arguments

rld

A DESeq2::DESeqTransform() object.

plot_type

Character, choose one of boxplot, violin or density. Defaults to density

Value

A plot with the distribution of the expression values

Examples

dds <- makeExampleDESeqDataSet_multifac(betaSD_condition = 3, betaSD_tissue = 1)
rlt <- DESeq2::rlogTransformation(dds)
distro_expr(rlt)
#> Warning: `aes_string()` was deprecated in ggplot2 3.0.0.
#>  Please use tidy evaluation idioms with `aes()`.
#>  See also `vignette("ggplot2-in-packages")` for more information.
#>  The deprecated feature was likely used in the pcaExplorer package.
#>   Please report the issue at
#>   <https://github.com/federicomarini/pcaExplorer/issues>.