Description Usage Arguments Value Author(s) Examples
Given a list of probeIDs this function can scan a compressed .bab file for matching entries and return the data as a data.frame within R, rather than decompressing the data and generating new files.
1 | readCompressedData(inputFile, path = ".", probeIDs = NULL)
|
inputFile |
The name of the .bab file to be read in. |
path |
Path to where the input file can be found. Default is the current working directory. |
probeIDs |
List the probe IDs for which data should be obtained. If left NULL then every probe on the array is returned. |
If the requested probe IDs are present the function returns a data.frame with one row per bead. If the probes are not found in the file then the function returns NULL and informs the user.
Mike L. Smith
1 2 3 |
dataPath <- system.file("extdata", package = "BeadDataPackR")
readCompressedData(inputFile = "example.bab", path = dataPath, probeIDs = c(10008, 10010))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.