Description Usage Arguments Examples
View source: R/MarkdownReportsDev.R
Returns a formatted string that you feed to main, xlab or ylab parameters of a plot Create an expression with subscript for axis labels. Parsed when provided to xlab or ylab of a function.
1 | subscript_in_plots(prefix = "log", subscr = 2, quantity = "arbitrary units")
|
prefix |
String before the subscript. |
subscr |
Subscripted text. |
quantity |
String in brackets after the subscript, eg.: log2(read count). |
1 2 | plot (1, 1, xlab = subscript_in_plots(subscr = 10, quantity = "read count"),
ylab = subscript_in_plots())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.