View source: R/CreateSynSBS1SB5Correlated.R
PlotCorrelationScatterplot | R Documentation |
PlotCorrelationScatterplot
is a wrapper around graphics::plot()
,
and a function to plot the correlation between two vectors,
x
and y
. These vectors are expected to be
exposures of two signatures.
It will draw a scatterplot, and it will also print information
onto the plot, including correlation between x
and y
,
mean and stdev of x
and y
, etc.Plot scatter plot for correlation between two vectors.
PlotCorrelationScatterplot
is a wrapper around graphics::plot()
,
and a function to plot the correlation between two vectors,
x
and y
. These vectors are expected to be
exposures of two signatures.
It will draw a scatterplot, and it will also print information
onto the plot, including correlation between x
and y
,
mean and stdev of x
and y
, etc.
PlotCorrelationScatterplot( x, y, xlab = NULL, ylab = NULL, main = NULL, optional.remarks = "", ... )
x |
vector of exposures of |
y |
vector of exposures of |
xlab |
Label below x axis. |
ylab |
Label below y axis. |
main |
Title on the scatterplot. Default: NULL |
optional.remarks |
Remarks added below the title. |
... |
Other parameters provided to the function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.