R/prepare_wgs.R
gc.correct.wgs.RdFunction to correct LogR for waivyness that correlates with GC content
gc.correct.wgs(
Tumour_LogR_file,
outfile,
correlations_outfile,
gc_content_file_prefix,
replic_timing_file_prefix,
chrom_names,
recalc_corr_afterwards = F
)String pointing to the tumour LogR output
String pointing to where the GC corrected LogR should be written
File where correlations are to be saved
String pointing to where GC windows for this reference genome can be found. These files should be split per chromosome and this prefix must contain the full path until chr in its name. The .txt extension is automatically added.
Like the gc_content_file_prefix, containing replication timing info (supply NULL if no replication timing correction is to be applied)
A vector containing chromosome names to be considered
Set to TRUE to recalculate correlations after correction