### R code from vignette source 'vignettes/BeadDataPackR/inst/doc/BeadDataPackR.rnw' ################################################### ### code chunk number 1: Loading ################################################### library(BeadDataPackR) dataPath <- system.file("extdata", package = "BeadDataPackR") ################################################### ### code chunk number 2: Compress (eval = FALSE) ################################################### ## compressBeadData(txtFile = "example.txt", locsGrn = "example_Grn.locs", outputFile = "example.bab", path = dataPath, nBytes = 4, nrow = 326, ncol = 4) ################################################### ### code chunk number 3: Decompress (eval = FALSE) ################################################### ## decompressBeadData(inputFile = "example.bab", inputPath = dataPath, outputMask = "restored", outputPath = ".", outputNonDecoded = FALSE, roundValues = TRUE ) ################################################### ### code chunk number 4: readCompressed (eval = FALSE) ################################################### ## readCompressedData(inputFile = "example.bab", path = dataPath, probeIDs = c(10008, 10010) ) ################################################### ### code chunk number 5: extractLocsFile (eval = FALSE) ################################################### ## locs <- extractLocsFile(inputFile = "example.bab", path = dataPath) ################################################### ### code chunk number 6: sessionInfo ################################################### toLatex(sessionInfo())