Skip to content

Commit

Permalink
Set a reference to Pidsley et al. 2016 to the Preprocessing report wh…
Browse files Browse the repository at this point in the history
…en filtering cross-reactive probes.
  • Loading branch information
yxomo committed Sep 25, 2018
1 parent 815706e commit 15b78db
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions R/filtering.R
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,16 @@ rnb.section.cross.reactive.removal.internal <- function(report, filtered, anno.t
return(report)
}

refText <- paste0("Chen, Y., Lemire, M., Choufani, S., Butcher, D.T., Grafodatskaya, D., Zanke, B.W., ",
"Gallinger, S., Hudson, T.J., Weksberg, R. (2013) Discovery of cross-reactive probes and polymorphic CpGs in ",
"the Illumina Infinium HumanMethylation450 microarray. <i>Epigenetics</i>, <b>8</b>(2), 203-209")
if (nrow(anno.table) < 500000L) {
refText <- paste0("Chen, Y., Lemire, M., Choufani, S., Butcher, D.T., Grafodatskaya, D., Zanke, B.W., ",
"Gallinger, S., Hudson, T.J., Weksberg, R. (2013) Discovery of cross-reactive probes and polymorphic ",
"CpGs in the Illumina Infinium HumanMethylation450 microarray. <i>Epigenetics</i>, <b>8</b>(2), 203-209")
} else {
refText <- paste0("Pidsley, R., Zotenko, E., Peters, T.J., Lawrence, M.G., Risbridger, G.P., Molloy, P., ",
"Djik, S.V., Muhlhausler, B., Strizaker, C., Clark, S.J. (2016) Critical evaluation of the Illumina ",
"MethylationEPIC BeadChip microarray for whole-genome DNA methylation profiling. <i>Genome Biology</i>, ",
"<b>17</b>:208")
}
report <- rnb.add.reference(report, refText)
txt <- " non-specific and "
N <- length(filtered)
Expand Down

0 comments on commit 15b78db

Please sign in to comment.