MRCIEU / godmc

GoDMC analysis pipeline
12 stars 2 forks source link

Normalization with meffil, code error #6

Closed elecarnero closed 8 years ago

elecarnero commented 8 years ago

Hi. I found a small error in the code from the section: normalised methylation data (using meffil)

save(norm.objects,file=paste(norm.obj.pc",pc,".Robj",sep="")) should be written as save(norm.objects,file=paste("norm.obj.pc",pc,".Robj",sep="")) :)

epzjlm commented 8 years ago

thanks! I updated the wiki

elecarnero commented 8 years ago

Hi. Here another typo in the wiki:

norm.objects <- meffil.normalize.quantiles(qc.objects, number.pcs=pc) save(norm.objects,file=paste("norm.obj.pc",pc,".Robj",sep=""))

norm.beta <- meffil.normalize.samples(norm.objects, cpglist.remove=qc.summary$bad.cpgs$name) save(norm.objects,file=paste("norm.obj.pc",pc,".Robj",sep=""))

the file to save in norm.beta should be norm.beta and the name to save it should be paste("norm.beta.pc",pc,".Robj",sep="") to avoid overwrite the pre-existing norm.objects

thanks!

epzjlm commented 8 years ago

thanks! Fixed it!