Apply a function on tidy cpgs (internally separated by coordinates)

gpatterns.apply_tidy_cpgs(track, f, split_by_bin = TRUE,
  parallel = getOption("gpatterns.parallel"), use_sge = FALSE,
  max_jobs = 300, verbose = FALSE, ...)

Arguments

track
name of track
f
function to apply (needs to return a data frame)
split_by_bin
apply on each genomic bin separately
parallel
execute parallely
use_sge
use sge cluster for parallelization
max_jobs
maximal number of jobs for sge
verbose
print jobs status
...
additonal parameters for gcluster.run2

Value

a data frame with f applied to every genomic bin of tidy_cpgs of track