binarise_files {Melissa} | R Documentation |
Script for binarising CpG sites and formatting the coverage file so it can be directly used from the BPRMeth package. The format of each file is the following: <chr> <start> <met_level>, where met_level can be either 0 or 1.
binarise_files(indir, outdir = NULL, no_cores = NULL)
indir |
Directory containing the coverage files, output from Bismark. |
outdir |
Directory to store the output files for each cell with exactly the same name. If NULL, then a directory called 'binarised' inside 'indir' will be create by default. |
no_cores |
Number of cores to use for parallel processing. If NULL, no parallel processing is used. |
No value is returned, the binarised data are stored in the outdir.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
create_melissa_data_obj
, melissa
,
filter_regions
## Not run: # Met directory met_dir <- "name_of_met_dir" binarise_files(met_dir) ## End(Not run)