- data
Data to create difference in means, sum of variances plot.
Either a data.frame with `xcol`,`ycol` and `feature_id_col` or, if
`target_vector` is not `NULL` a matrix with beta values from which,
given the target, the difference in means between the target and others,
and the sum of variances within the target and others will be calculated.
- xcol
Column with x-axis data
- ycol
Column with y-axis data
- feature_id_col
Column with the feature ID
- is_feature_selected_col
NULL or column with TRUE/FALSE for features which should be highlighted as selected
- label_var1
Label of the target class
- label_var2
Label of the other classes
- target_vector
if not NULL a vector target class assignment, see data
- mean_cutoff
a numeric draw mean cutoff at given position
- var_cutoff
a numeric draw variance cutoff at given position
- threshold_func
specification of the parabola function, see examples
- func_factor
argument to be passed to the parabola function, see examples
- feats_to_highlight
features (CpGs) to be highlighted in the plot
- cpg_ranking_df
data.frame with ranked features (CpGs) to be highlighted in the plot, if present must have the following columns: .id, predType, Rank and DiffAndFoldScaledAUPR
- color_all_points
color that all non-highlighted points should have, argument defaults to NULL, the default color is black
- plot_density
A boolean, if TRUE (default) the function will produce density plots on top/side of scatterplot
- density_type
One of "density", "histogram", "boxplot", "violin" or "densigram". Defines the type of density plot if `plot_density = TRUE`
- plot_dir
path to directory where to save the plot. If NULL (default), plot will not be saved.
- id_tag
character string to identify plots, is displayed in the plot and present in the file name
- file_tag
character string to identify plots, tags only the file name
- custom_mods
a boolean, if TRUE will add some custom labels to the plot. Default is FALSE