Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/crlmm-illumina.R
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.
1 2 3 4 5 6 | 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, anno, saveDate = TRUE, stripNorm
= TRUE, useTarget = TRUE, mixtureSampleSize = 10^5, fitMixture = TRUE,
quantile.method="between", eps = 0.1, verbose = TRUE, seed = 1, cdfName)
|
cnSet |
object of class |
sampleSheet |
|
arrayNames |
character vector containing names of arrays to be
read in. If |
ids |
vector containing ids of probes to be read in. If
|
path |
character string specifying the location of files to be read by the function |
arrayInfoColNames |
(used when |
highDensity |
logical (used when |
sep |
character string specifying separator used in .idat file names. |
fileExt |
list containing elements 'Green' and 'Red' which specify the .idat file extension for the Cy3 and Cy5 channels. |
XY |
an |
anno |
data.frame containing SNP annotation information from
manifest and additional columns 'isSnp', 'position', 'chromosome'
and 'featureNames'. For use when |
saveDate |
'logical'. Should the dates from each .idat be saved with sample information? |
stripNorm |
'logical'. Should the data be strip-level normalized? |
useTarget |
'logical' (only used when |
mixtureSampleSize |
Sample size to be use when fitting the mixture model. |
fitMixture |
'logical.' Whether to fit per-array mixture model. |
quantile.method |
character string specifying the quantile normalization method to use ('within' or 'between' channels). |
eps |
Stop criteria. |
verbose |
'logical.' Whether to print descriptive messages during processing. |
seed |
Seed to be used when sampling. Useful for reproducibility |
cdfName |
|
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.
A 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.
R. Scharpf
CNSet-class
, A
, B
,
constructInf
, genotypeInf
, annotationPackages
1 2 | ## See the 'illumina_copynumber' vignette in inst/scripts of
## the source package
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.