R/ctwas_plots.R
make_convergence_plots.Rd
Make convergence plots for the estimated parameters
make_convergence_plots(
param,
gwas_n,
title.size = 10,
legend.size = 8,
colors = c("#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7",
"#999999"),
ncol = 2
)
a list of cTWAS parameter estimation result from est_param
the sample size of the GWAS summary statistics
font size of the plot title
font size of the plot legend title
colors for different groups, passed as the
values
input to scale_color_manual
.
If fewer colors than "fits" are given, the colors are recycled.
number of columns in the output plot