Closed gabrielodom closed 2 years ago
SesameData no longer supports HG19, so I'm having to re-write half of the package. See https://github.com/zwdzwd/sesame/issues/66#issuecomment-1078416677
Basically, I didn't realise that OrderCpGsByLocation() called sesameDataGet() EVERY TIME it ran, so I'm going through all the functions and adding an argument for a pre-set manifest object (manifest_gr
). The affected functions are: OrderCpGsByLocation()
, CloseBySingleRegion()
, CoMethSingleRegion()
, GetCpGsInRegion()
, lmmTest()
, SplitCpGDFbyRegion()
, WriteCloseByAllRegions()
; lmmTestAllRegions()
and CpGsInfoOneRegion()
may have some spillover effects.
I think I need a branch for this.
Similar story for the GetCpGsInRegion()
function. Man, no wonder this code was running so slowly. Thankfully, the only affected function is CpGsInfoOneRegion()
, but we're theoretically calling that function 40k+ times.
CpGsInfoAllRegions()
now calls for the ImportSesameData()
ONCE at the top, and not every time CpGsInfoOneRegion()
is called. This is embarrasing.
Fixed in #20
We need to update the package from using
IlluminaHumanMethylationEPICanno.ilm10b2.hg19::
to usingIlluminaHumanMethylationEPICanno.ilm10b4.hg19::
. Tiago found some issues with the data incoMethDMR_data::
that are most likely fixed by updating the manifest package. See https://github.com/TransBioInfoLab/coMethDMR_data/issues.