miRNA_plotThresholds {MiRNAQCD}R Documentation

Plot of scores and thresholds of a Bayes classifier.

Description

Generates a plot of the classifier scores of a dataset, as well as the corresponding classifier thresholds.

Usage

miRNA_plotThresholds(
  inputDataset,
  thresholdsFrame,
  outputFileLabel,
  plotFormat = "pdf",
  scorePlotParameters = character(),
  colorComplementFlag = FALSE
)

Arguments

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.

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.


[Package MiRNAQCD version 1.1.3 Index]