View source: R/itrax_correlation.r
itrax_correlation | R Documentation |
Calculates a correlation matrix for Itrax data results including normalisation and visualisation
itrax_correlation(
dataframe,
elementsonly = TRUE,
zeros = "addone",
transform = TRUE,
plot = FALSE
)
dataframe |
pass the name of a dataframe parsed using |
elementsonly |
if TRUE, only chemical elements are included. If FALSE, the data is passed unfiltered, otherwise a character vector of desired variable names can be supplied |
zeros |
if "addone", adds one to all values. If "limit", replaces zero values with 0.001. Otherwise a function can be supplied to remove zero values. |
transform |
binary operator that if TRUE will center-log-transform the data, if FALSE will leave the data untransformed. Otherwise, a function can be supplied to transform the data. |
plot |
set to true if a biplot is required as a side-effect |
a correlation matrix object
itrax_correlation(CD166_19_S1$xrf, plot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.