Scatter plot DANA assessment metrics
plotDANA.RdPlot function for a scatter plot of the DANA result metrics generated
using the DANA normalization assessment assessNormalization.
The DANA Assessment metrics for given normalized counts (for each
normalized count matrix) are provided as a data.frame with
the columns:
- cc
ccmeasures the preservation of biological signals before versus after normalization. A high value indicates a high preservation of biological signals (cc<= 1)- mscr
mscrmeasures the relative reduction of handling before versus after normalization. A highmscrindicates higher removal of handling effects.
When selecting a normalization method for the raw data, one should
aim for the best possible trade-off of hight cc and high mscr.
This function generates a ggplot scatter plot of the DANA metrics
for the selection of a most suitable normalization method.
Arguments
- metrics
data.frameof DANA metrics containing the metricsccandmscras columns. Each row represents a normalization method.- label.size
Optional. Text size of the plot labels.
- label.repel
Optional. Logical if the
ggrepelpackage is used to space point labels. Requires the packageggrepelto be installed.- limits.x
Optional. Must be either missing, NA, or c(x1,x2). If not given, x-axis limits are set to [0,1]. If NA, x-axis limits are automatically scaled to the data. If c(x1,x2), x-axis limits are scaled to the interval [x1,x2].
- limits.y
Optional. Must be either missing, NA, or c(y1,y2). If not given, y-axis limits are set to [0,1]. If NA, y-axis limits are automatically scaled to the data. If c(y1,y2), y-axis limits are scaled to the interval [y1,y2].
- title
Optional. Plot title