View source: R/correlation-analysis.R
plotCorrelationSD | R Documentation |
Uses the style of correlation matrices to visualize the standard deviation of the correlation values across groups of a grouping variable - indicating which grouping is responsible for changes in correlation.
plotCorrelationSD( object, variable_set, method_corr = NULL, phase = NULL, across = NULL, relevel = NULL, variables_subset = NULL, signif_level = NULL, clrsp = NULL )
object |
A valid cypro object. |
variable_set |
Character value. Denotes the variable set of interest. Use |
method_corr |
Character value. Denotes the correlation method of interest. Either |
phase |
Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
across |
Character vector (!). Denotes all grouping variables of interest. |
relevel |
Logical value. If set to TRUE the input order of |
variables_subset |
Character vector or NULL. Specifies the numeric variables you want to be included in the correlation plot. If set to NULL all of them are chosen. You can prefix variables you do NOT want to influence the clustering with a '-'. (Saves writing if there are more variables you are interested in than variables you are not interested in.) |
signif_level |
Numeric value or NULL. If numeric, specifies the minimum significance level a correlation pair
must feature in order to be displayed. Insignificant correlation values are crossed out. Argument |
A ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.