plot.empLCPM {CpmERCCutoff} | R Documentation |
Plot the empirically derived LCPM cutoff
Description
Plot method for class "empLCPM" that plots the 3rd order polynomial fit for the Spearman correlation between the expected and observed ERCC fold changes across log2 CPM abundance bins and highlights the empirically derived LCPM cutoff.
Usage
## S3 method for class 'empLCPM'
plot(x, main = "", col.trend = "purple", col.outlier = c("black", "red"), ...)
Arguments
x |
A 'empLCPM' object from |
main |
An (optional) title for the plot. |
col.trend |
Color used for the 3rd order polynomial fit. |
col.outlier |
A vector specifying the default color for the points in the scatterplot, and the color for the outlier points. The default is to color all non-outlier points black and the outliers red. |
... |
Additional arguments are ignored. |
Value
The function plot.empLCPM
creates a plot that summarizes 3rd
order polynomial fit for the Spearman correlation between the expected and
observed ERCC fold changes across log2 CPM abundance bins. Vertical lines
are used to indicate the optimal cutoff value, along with the lower and upper
95% bootstrap confidence interval highlighted by dashed vertical lines.