This creates a Q-Q plot of the library sizes of the AnyHermesData object.
Arguments
- object
(
AnyHermesData
)
input.- color
(
string
)
color of Q-Q line.- linetype
(
string
)
line type of Q-Q line.
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")