knitr::opts_chunk$set(collapse=TRUE, comment='#>')


CopyNeutralIMA provides reference samples for performing copy-number variation (CNV) analysis using Illumina Infinium 450k or EPIC DNA methylation arrays. There is a number of R/Bioconductor packages that do genomic copy number profiling, including conumee [@conumee], ChAMP [@champ] or CopyNumber450k, now deprecated. In order to extract information about the copy number alterations, a set of copy neutral samples is required as a reference. The package CopyNumber450kData, usually used to provide the reference, is no longer available. Additionally, there has never been an effort to provide reference samples for the EPIC arrays. To fill this gap of lacking reference samples, we here introduce the CopyNeutralIMA package.


In this package we provide a set of 51 IlluminaHumanMethylation450k and 13 IlluminaHumanMethylationEPIC samples. The provided samples consist of material from healthy individuals with nominally no copy number aberrations. Users of conumee or other copy number profiling packages may use this data package as reference genomes.


We selected the data from different studies accessible in the Gene Expression Omnibus (GEO). In particular, for 450k arrays samples from GSE49618 [@GSE49618], GSE61441 [@GSE61441] and GSE106089 [@GSE106089] were chosen. For EPIC arrays, normal or control samples from series GSE86831/GSE86833 [@GSE86831], GSE98990 [@GSE98990] and GSE100825 [@GSE100825] were chosen.

Example with conumee

First, we load the data we want to analyse and rename it. We will use the examples provided by the minfiData [@minfiData] package and will follow the steps described in the vignette of conumee.


sampleNames(RGsetEx) <- pData(RGsetEx)$Sample_Name
cancer <- pData(RGsetEx)$status == 'cancer'
RGsetEx <- RGsetEx[,cancer]

After loading the data we normalize it:

MsetEx <- preprocessIllumina(RGsetEx)

Now we load our control samples, from the same array type as our test samples and normalize them:

ima <- annotation(MsetEx)[['array']]
RGsetCtrl <- getCopyNeutralRGSet(ima)
# preprocess as with the sample data
MsetCtrl <- preprocessIllumina(RGsetCtrl)

Finally we can run the conumee analysis following the author's indications:

# use the information provided by conumee to create annotation files or define
# them according to the package instructions
anno <- CNV.create_anno(array_type = "450k", exclude_regions = exclude_regions, detail_regions = detail_regions)

# load in the data from the reference and samples to be analyzed <- CNV.load(MsetCtrl) <- CNV.load(MsetEx)

cnv <-["GroupB_1"],, anno)
cnv <- CNV.bin(cnv)
cnv <- CNV.detail(cnv)
cnv <- CNV.segment(cnv)

CNV.genomeplot(cnv, chr = 'chr18')

head(CNV.write(cnv, what = 'segments'))
head(CNV.write(cnv, what='probes'))

nocite: | @minfi ...

Session info {.unnumbered}



xpastor/CopyNeutralIMA documentation built on May 28, 2019, 5:41 a.m.