R/MethyDiff_Set.R

Defines functions MethyDiff_Set

Documented in MethyDiff_Set

MethyDiff_Set <- function(chromDictMeth, regions){
  
  apply(regions, 1, function(x){
    MethylDiff(chromDictMeth, x[[1]], as.numeric(x[[2]]), as.numeric(x[[3]]))
  }) -> regions$mean_methylDiff
  
  return(regions)
}

Try the PCBS package in your browser

Any scripts or data that you put into this service are public.

PCBS documentation built on Sept. 11, 2024, 6:11 p.m.