draw_libsize_densities: Density Plot of (Log) Counts Distributions

View source: R/graphs.R

draw_libsize_densitiesR Documentation

Density Plot of (Log) Counts Distributions

Description

[Experimental]

This creates a density plot of the (log) counts distributions of the AnyHermesData object where each line on the plot corresponds to a sample.

Usage

draw_libsize_densities(object, log = TRUE)

Arguments

object

(AnyHermesData)
input.

log

(flag)
should the counts be log transformed (log2).

Value

The ggplot object with the density plot.

Examples

result <- hermes_data
draw_libsize_densities(result)
draw_libsize_densities(result, log = FALSE)

insightsengineering/hermes documentation built on Sept. 19, 2024, 9:06 p.m.