
Wrapper function for volcano plot parameters
params_volcano.RdWrapper function for volcano plot parameters
Usage
params_volcano(
x_axis = "log2FC",
y_axis = "FDR",
colour = NULL,
label_column = NULL,
top_features_to_label = NULL
)Arguments
- x_axis
String. Column holding the effect size (e.g.
"log2FC"). Defaults to"log2FC".- y_axis
String. Column holding the raw significance values (e.g.
"FDR","fdr","q_value"). The function applies-log10()internally. Defaults to"FDR".- colour
String or
NULL. Column to colour points by (continuous gradient). IfNULL, points are coloured byx_axis. Defaults toNULL.- label_column
String or
NULL. Column holding feature labels. Required iftop_features_to_labelis set. Defaults toNULL.- top_features_to_label
Integer or
NULL. Number of features to label, ranked byy_axisascending (most significant first). Defaults toNULL.
Value
A named list with the following elements:
x_axis - String. Column holding the effect size (e.g.
"log2FC"). Defaults to"log2FC".y_axis - String. Column holding the raw significance values (e.g.
"FDR","fdr","q_value"). The function applies-log10()internally. Defaults to"FDR".colour - String or
NULL. Column to colour points by (continuous gradient). IfNULL, points are coloured byx_axis. Defaults toNULL.label_column - String or
NULL. Column holding feature labels. Required iftop_features_to_labelis set. Defaults toNULL.top_features_to_label - Integer or
NULL. Number of features to label, ranked byy_axisascending (most significant first). Defaults toNULL.