draw_libsize_qq: Q-Q Plot of Library Sizes

View source: R/graphs.R

draw_libsize_qqR Documentation

Q-Q Plot of Library Sizes

Description

[Experimental]

This creates a Q-Q plot of the library sizes of the AnyHermesData object.

Usage

draw_libsize_qq(object, color = "grey", linetype = "dashed")

Arguments

object

(AnyHermesData)
input.

color

(string)
color of Q-Q line.

linetype

(string)
line type of Q-Q line.

Value

The ggplot object with the Q-Q Plot.

Examples

result <- hermes_data
draw_libsize_qq(result)
draw_libsize_qq(result, color = "blue", linetype = "solid")

# We can also add sample names as labels.
library(ggrepel)
draw_libsize_qq(result) + geom_text_repel(label = colnames(result), stat = "qq")

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