For plotting an S3 object of type 'SPANSRes'
# S3 method for class 'SPANSRes'
plot(
x,
interactive = FALSE,
x_lab = NULL,
y_lab = NULL,
x_lab_size = 11,
y_lab_size = 11,
x_lab_angle = NULL,
title_lab = NULL,
title_lab_size = 14,
legend_lab = NULL,
legend_position = "right",
color_low = NULL,
color_high = NULL,
bw_theme = TRUE,
...
)
an object of the class 'SPANSRes', created by
spans_procedure
logical value. If TRUE produces an interactive plot.
character string specifying the x-axis label.
character string specifying the y-axis label.
integer value indicating the font size for the x-axis. The default is 11.
integer value indicating the font size for the y-axis. The default is 11.
integer value indicating the angle of x-axis labels. The default is NULL.
character string specifying the plot title
integer value indicating the font size of the plot title. The default is 14.
character string specifying the legend title
character string specifying the position of the legend. Can be one of "right", "left", "top", "bottom", or "none". The default is "none".
character string specifying the color of the gradient for low values.
character string specifying the color of the gradient for high values
logical value. If TRUE uses the ggplot2 black and white theme.
further arguments passed to or from other methods.
ggplot2 plot object if interactive is FALSE, or plotly plot object if interactive is TRUE
# \donttest{
library(pmartRdata)
data(pep_object)
mypep <- edata_transform(omicsData = pep_object, data_scale = "log2")
mypep <- group_designation(omicsData = mypep, main_effects = "Phenotype")
myspans <- spans_procedure(omicsData = mypep)
plot(myspans)
# }