plot.CorrData {IdMappingAnalysis} | R Documentation |
Scatterplot of experiment data.
## S3 method for class 'CorrData' plot(x, input, outcomePairs=NULL, xlab="protein count", ylab="mRNA expression (log10)", method="spearman", proteinNames=NULL, cols=brewer.pal(9, "Set1"), cex=1, cex.main=1.2, cex.lab=1, cex.axis=1, font=1, font.main=3, par.zoom=1, ...)
input |
character vector of primary IDs, or either vector or list of match pairs. |
outcomePairs |
The pairs <sample ID, outcome> or |
xlab |
The X axis label. Default is 'protein count'. |
ylab |
The Y axis label. Default is 'mRNA expression'. |
method |
the method used to compute the correlation coefficient between X and Y data. Default is "spearman". |
proteinNames |
extra comments in the plot main title. Default is |
cols |
the (recycled) vector of colors to plot each data series with for the particular match pair. Default is RColorBrewer::brewer.pal(9,"Set1"). |
cex |
Plot font size. Default is 1. |
cex.main |
Main title font size. Default is 1.2. |
cex.lab |
X and Y titles font size. Default is 1. |
cex.axis |
X and Y axis labels font size. Default is 1. |
font |
data points and axis labels font. Default is 2. |
font.main |
main title font type. Default is 3. |
par.zoom |
graphics parameters zoom factor. Scales the graphical parameters like cex, lwd, mai etc. Default is 1. |
... |
Additional graphical parameters |
Alex Lisovich, Roger Day
For more information see CorrData
.
#scatterplot with outcome for Uniprot="P07355" (annexin 2), probe set ID="213503_x_at" examples$corrData$plot(input=list(c("P07355", "213503_x_at")), xlab="spectral count", outcomePairs=examples$outcomeMap, proteinNames="ANXA2", cols=c("green", "red", "darkblue"));