miRNA_plotHistograms {MiRNAQCD} | R Documentation |
Plot of classifier distribution histograms (Target and Versus).
Description
Generates a plot of the histograms of the score values for the target and versus sets.
Usage
miRNA_plotHistograms(
inputDataset,
thresholdFrame = character(),
outputFileLabel,
plotFormat = "pdf",
histogramParameters = character(),
colorComplementFlag = FALSE
)
Arguments
inputDataset |
Dataset (data frame) to be used for the plot. |
thresholdFrame |
Diagnostic threshold values (data frame) to be used for the plot. If omitted, no threshold is drawn on the histogram. |
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'. |
histogramParameters |
String specifying the parameters used to build the histogram. If empty, the histogram is built by assessing suitable parameters from the data. The string has to comply with the format "xl_xu_bw", where: xl is the lower boundary of the leftmost bin; xu is the upper boundary of the rightmost bin; bw is the bin width. |
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. |
Value
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.