mash_plot_pairwise_sharing.Rd
Given a correlation matrix, an RDS with a correlation matrix, or
a mash object, create a ggplot of pairwise sharing of mash effects using
get_pairwise_sharing
and ggcorr
.
mash_plot_pairwise_sharing(
m = NULL,
effectRDS = NULL,
corrmatrix = NULL,
reorder = TRUE,
saveoutput = FALSE,
filename = NA,
suffix = "",
...
)
An object of type mash
An RDS containing a correlation matrix.
A correlation matrix
Logical. Should the columns be reordered by similarity?
Logical. Should the output be saved to the path?
Character string with an output filename. Optional.
Character. Optional. A unique suffix used to save the files, instead of the current date & time.
Other arguments to get_pairwise_sharing
or
ggcorr
.
A list containing a dataframe containing the correlations and a ggplot2 object containing the correlation plot.