Skip to contents

[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")