Creates table grob in format that is most common for my usage.

plot_methylation_info(df_sample, outfile)

Arguments

df_sample

data.frame with methylation info

outfile

character srting with output pdf filename

dt

Data.table that the grob will be made out of

title_v

Title for display

fontsize_v

Fontsize for title. Default is 14 (goes well with my_theme)

Value

pdf w/ methylation rate distribution, biases at polymorphic and non-polymorphic CG/CCGG and coverage distribution Create custom table grob with title

Details

plot_methylation_info returns the df_sample with annotated q-value for each CpG