View source: R/CreateSynSBS1SB5Correlated.R
PlotCorrelationScatterplotForExposures | R Documentation |
PlotCorrelationScatterplotForExposures
is a wrapper around PlotCorrelationScatterplot
.
It lets exposure.counts <-
the exposure matrix,
and will draw a scatterplot for exposures of two signatures.Plot scatter plot for correlation between exposures of two signatures
Plot scatter plot for correlation between exposures of two signatures, SBS1 and SBS5 in this study.
PlotCorrelationScatterplotForExposures
is a wrapper around PlotCorrelationScatterplot
.
It lets exposure.counts <-
the exposure matrix,
and will draw a scatterplot for exposures of two signatures.
PlotCorrelationScatterplotForExposures( pdf.filename, main.signature = "SBS5", correlated.signature = "SBS1", slope.linear, exposure.counts, xlim = c(0, 4), ylim = c(0, 4), ... )
pdf.filename |
Name of the PDF to contain the scatterplots. |
main.signature |
Name of a signature with smaller variance in the log10 space. (Default: "SBS5") |
correlated.signature |
Name of a signature with larger variance in the log10 space. (Default: "SBS1") |
slope.linear |
Average ratio of mutation burden of |
exposure.counts |
Data.frame or matrix storing exposures of two signatures.
The exposure.counts object is usually obtained from |
xlim, ylim |
numeric vectors of length 2, giving the x and y coordinates ranges. Default: c(0,4) |
... |
Other parameters provided to the function |
main |
Title on the scatterplot. Default: NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.