selfCorrelation | R Documentation |
This function returns correlation coefficients for variables in one dataset against itself
selfCorrelation(
data,
method = c("spearman", "pearson", "sparcc"),
format = c("ComputeResult", "data.table"),
verbose = c(TRUE, FALSE),
...
)
## S4 method for signature 'data.table'
selfCorrelation(
data,
method = c("spearman", "pearson"),
format = c("ComputeResult", "data.table"),
verbose = c(TRUE, FALSE)
)
## S4 method for signature 'Collection'
selfCorrelation(
data,
method = c("spearman", "pearson"),
format = c("ComputeResult", "data.table"),
verbose = c(TRUE, FALSE),
proportionNonZeroThreshold = 0.05,
varianceThreshold = 0,
stdDevThreshold = 0
)
## S4 method for signature 'SampleMetadata'
selfCorrelation(
data,
method = c("spearman", "pearson"),
format = c("ComputeResult", "data.table"),
verbose = c(TRUE, FALSE)
)
data |
A data.table or Collection object. |
method |
string defining the type of correlation to run. The currently supported values are 'spearman','pearson', and for some methods/ data types 'sparcc'. |
format |
string defining the desired format of the result. The currently supported values are 'data.table' and 'ComputeResult'. |
verbose |
boolean indicating if timed logging is desired |
ComputeResult object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.