Preprocessing of Illumina Infinium II arrays.
This function normalizes the intensities for the 'A' and 'B'
alleles for a CNSet
object and estimates mixture
parameters used for subsequent genotyping. See details for
how the normalized intensities are written to file. This step
is required for subsequent genotyping and copy number
estimation.
preprocessInf(cnSet, sampleSheet=NULL, arrayNames = NULL, ids = NULL,
path = ".", arrayInfoColNames = list(barcode = "SentrixBarcode_A",
position = "SentrixPosition_A"), highDensity = TRUE, sep = "_", fileExt
= list(green = "Grn.idat", red = "Red.idat"), XY, saveDate = TRUE, stripNorm
= TRUE, useTarget = TRUE, mixtureSampleSize = 10^5, fitMixture = TRUE,
quantile.method="between", eps = 0.1, verbose = TRUE, seed = 1, cdfName)
CNSet
data.frame
containing Illumina sample sheet
information (for required columns, refer to BeadStudio Genotyping
guide - Appendix A).NULL
, all arrays that can be found in the
specified working directory will be read in.NULL
all probes found on the first array are read in.sampleSheet
is specified)
list containing elements 'barcode' which indicates column names in
the sampleSheet
which contains the arrayNumber/barcode number
and 'position' which indicates the strip number. In older style
sample sheets, this information is combined (usually in a column
named 'SentrixPosition') and this should be specified as
list(barcode=NULL, position="SentrixPosition")
sampleSheet
is
specified). If TRUE
, array extensions '\_A', '\_B' in
sampleSheet are replaced with 'R01C01', 'R01C02' etc.NChannelSet
object containing X and Y intensities.stripNorm=TRUE
).
Should the reference HapMap intensities be used in strip-level normalization?character
string indicating which annotation
package to load.ff_matrix
object containing parameters for fitting the
mixture model. Note that while the CNSet
object is not
returned by this function, the object will be updated as the
normalized intensities are written to disk. In particular,
after applying this function the normalized intensities in the
alleleA
and alleleB
elements of assayData
are now available. The normalized intensities are written to disk using package
ff
protocols for writing/reading to disk. Note that the
object CNSet
containing the ff
objects in the
assayData
slot will be updated after applying this
function.
CNSet-class
, A
, B
,
constructInf
, genotypeInf
, annotationPackages
## See the 'illumina_copynumber' vignette in inst/scripts of
## the source package
Run the code above in your browser using DataLab