inst/testScripts/system/chipTypes/MoGene-1_0-st-v1/12.QuantileNormalization.R

library("aroma.affymetrix")
verbose <- Arguments$getVerbose(-10, timestamp=TRUE)

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Setup data set
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dataSet <- "GSE37861"
chipType <- "MoGene-1_0-st-v1"

cdf <- AffymetrixCdfFile$byChipType(chipType, tags="r3")
print(cdf)

csR <- AffymetrixCelSet$byName(dataSet, cdf=cdf)
csR <- csR[1:6]
print(csR)


# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# RMA background correction
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Currently, you must use the standard CDF file.
bc <- RmaBackgroundCorrection(csR)
print(bc)

csB <- process(bc, verbose=verbose)
print(csB)


# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Quantile normalization
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
qn <- QuantileNormalization(csB, typesToUpdate="pm")
csN <- process(qn, verbose=verbose)
print(csN)

Try the aroma.affymetrix package in your browser

Any scripts or data that you put into this service are public.

aroma.affymetrix documentation built on July 18, 2022, 5:07 p.m.