Description Usage Arguments Details Value See Also Examples
This calculates all-against-all correlations between selected parameters inferred from the contained wells or correlations between all wells and selected wells of interest.
1 2 3 4 5 |
x |
|
y |
Optional vector with names or indexes of columns
to correlate with the full extracted matrix. Note that
the names must refer to this generated matrix, not to the
well names in |
method |
Character scalar passed to |
use |
Character scalar also passed to |
subset |
Character scalar passed to
|
... |
Optional arguments passed to
|
The resulting matrix can be plotted, e.g., using the
corrplot
function from the corrplot package.
For the OPMS
method, a squared matrix of
correlations if y
is empty, another matrix with
correlations otherwise. The MOPMX
method
returns a list of such matrices.
stats::cor stats::cor.test corrplot::corrplot
Other res: opm_dbclear
,
opm_dbfind
, opm_dbget
,
opm_dbnext
, opm_dbput
1 2 3 4 5 6 7 8 9 | (x <- cor.test(vaas_4[, , 1:20]))
stopifnot(is.matrix(x), dim(x) == 20)
# adapt default text size to a full 96-well plate
my_corrplot <- function(corr, tl.col = "grey30", tl.cex = 0.4,
mar = c(2, 2, 2, 2), ...) {
corrplot::corrplot(corr = corr, tl.col = tl.col,
tl.cex = tl.cex, mar = mar, ...)
}
my_corrplot(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.