Last chance! 50% off unlimited learning
Sale ends in
convertCdf(filename, outFilename, version="4", force=FALSE, ..., .validate=TRUE, verbose=FALSE)
FALSE
, and the version of the orignal CDF is the
same as the output version, the new CDF will not be generated,
otherwise it will.TRUE
, a consistency test between the generated
and the original CDF is performed. Note that the memory overhead
for this can be quite large, because two complete CDF structures
are kept in memory at the same time.TRUE
, extra details are written while processing.convertCdf()
and then verified for correctness using compareCdfs()
:
ASCII-to-binary: HG-U133A, Hu6800.
Binary-to-binary: Test3.compareCdfs
() to compare two CDF files.
writeCdf
().
##############################################################
if (require("AffymetrixDataTestFiles")) { # START #
##############################################################
chipType <- "Test3"
cdfFiles <- findCdf(chipType, firstOnly=FALSE)
cdfFiles <- list(
ASCII=grep("ASCII", cdfFiles, value=TRUE),
XDA=grep("XDA", cdfFiles, value=TRUE)
)
outFile <- file.path(tempdir(), sprintf("%s.cdf", chipType))
convertCdf(cdfFiles$ASCII, outFile, verbose=TRUE)
##############################################################
} # STOP #
##############################################################
Run the code above in your browser using DataLab