format_methylation_df
format_methylation_df.Rd
Format methylation rates
format_methylation_df
format_methylation_df(
dt,
sample_id,
normal_ids,
path_output,
n_cores,
suffix,
trim = FALSE
)
data.table containing the methylation information for each CpG
sample ID
sample ID of normal sample(s)
output directory
number of threads for HDI calculation
string containing the column names suffix for normal samples This is to distinguish between the proxy supplied for the normal infiltrates for use in deconvolution and the normal cell of origin for use in DMP/DMR calling
Logical value establishing whether regions with extremely high coverage be trimmed or not
A GRanges object with all the CpG loci, their coverage, counts methylated and methylation rate