ejh243 / BrainFANS

Complex Disease Epigenomics Group's quality control and analysis pipelines for DNA methylation arrays, SNP arrays, BS-Seq, ATAC-Seq and ChIP-Seq
Other
10 stars 4 forks source link

[Bug]: V2 Probe names need to be cleaned before EWAS #165

Open rhaigh5 opened 3 months ago

rhaigh5 commented 3 months ago

Contact Details

rh609@exeter.ac.uk

What happened?

When using calcBrainComposition() function from testCellComposition in the EWAS pipeline, normalised data is not compatible due to new probe name changes in EPICv2. Fix: need to incorporate epicv2clean from wateRmelon into the normalisation script before saving data.

How can the bug be reproduced?

Run calcBrainComposition on normalised data produced from the QC pipeline.

Relevant log output

predPropBest<-calcBrainComposition(celltypeNormbeta)
Error in projectCellTypeWithError(betas, modelBrainCoef[[method]][[j]]) : 
  Only 0 probes in common between trained model and bulk data. Stopping.