plot_corrplot | R Documentation |
Creates correlation plot using corrplot package
plot_corrplot(
mat,
labels = "",
text_size = 0.5,
pch_size = 0.5,
gradient_palette = "RdBu",
corr_method = c("pairwise.complete.obs", "spearman")
)
mat |
Numeric data frame or matrix, where columns will be correlated. Must not contain any NAs; use complete.cases(mat) to remove rows with NAs. |
labels |
A character vector of at least length 1 that will be collapsed for file name/plot titles. |
text_size |
The size of text labels on correlation plots. Color legend size is text_size/1.5. |
pch_size |
The size of star labels. |
gradient_palette |
RColorBrewer palette. See |
corr_method |
A character vector of 2 that correspond to "use" and "method" parameters in |
Plot object.
Other plotting:
plot_corrplotgg()
,
plot_discrete_barplot()
,
plot_heatmap()
,
plot_het_barplot()
,
plot_indiv_boxplot()
,
plot_indiv_corrscatt()
,
plot_indiv_paired()
,
plot_overview_boxplot()
,
plot_overview_corr_scatt()
,
plot_profile_barplot()
,
run_corrplot_analysis()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.