View source: R/miRNA_plot_thresholds.R
miRNA_plotThresholds | R Documentation |
Generates a plot of the classifier scores of a dataset, as well as the corresponding classifier thresholds.
miRNA_plotThresholds(
inputDataset,
thresholdsFrame,
outputFileLabel,
plotFormat = "pdf",
scorePlotParameters = character(),
colorComplementFlag = FALSE
)
inputDataset |
Dataset (data frame) to be used for the plot. |
thresholdsFrame |
Diagnostic threshold values (data frame) to be used for the plot. |
outputFileLabel |
Label to be used to build the name of the output file. |
plotFormat |
String to set the format of the output file. Can either be 'pdf' (default) or 'png'. |
scorePlotParameters |
String specifying the parameters of the score plot y-axis. If empty, the axis is configured by assessing suitable parameters from the data. The string has to comply with the format "yl_yu_yt", where: yl is the lower y limit; yu is the upper y limit; yt is the interval between tics along the axis. |
colorComplementFlag |
Boolean option to switch between the default palette (FALSE) and its inverted version (TRUE). Default is FALSE, corresponding to target samples reported in blue and versus samples in red. |
A ggplot object containing the plot.
This function is not exported to the package NAMESPACE, but it is called by other functions of the same package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.