View source: R/plotting_functions.R
plotCorScatter | R Documentation |
scatter plot of two samples or two group samples with correlation
plotCorScatter(
object,
corr_group1,
corr_group2,
corr_method,
design,
digits = 4,
pt.size,
pt.alpha,
pt.col
)
object |
DESeqDataSet or DESeqTransform, if use DESeqDataSet log2(normalized.counts + 1) values will be used, if use DESeqTransform rlog or vst transformed values will be used |
corr_group1 |
group1, can be a single sample name or a condition name of a group samples |
corr_group2 |
group2, can be a single sample name or a condition name of a group samples |
corr_method |
a character string indicating which correlation coefficient is to be used for the test. One of "pearson", "kendall", or "spearman", can be abbreviated. |
design |
design formula when runing DESeq |
digits |
integer indicating the number of decimal places (round) or significant digits (signif) to be used. Negative values are allowed (see ‘Details’). |
pt.size |
point size in plot |
pt.alpha |
point alpha |
pt.col |
point color |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.