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
)

Arguments

param

a list of cTWAS parameter estimation result from est_param

gwas_n

the sample size of the GWAS summary statistics

title.size

font size of the plot title

legend.size

font size of the plot legend title

colors

colors for different groups, passed as the values input to scale_color_manual. If fewer colors than "fits" are given, the colors are recycled.

ncol

number of columns in the output plot