Learn R Programming

skewr (version 1.4.2)

getBarcodes: Get barcodes from idat file names

Description

A convenience function for retrieving simple barcodes from idat file names.

Usage

getBarcodes(path = getwd(), recurse = FALSE)

Arguments

path
The path or a character vector to the directory or directories in which to find the idat files.
recurse
logical; should the function check subdirectories to derive barcodes from any found idat files. The default is FALSE.

Value

  • A character vector of barcodes.

Details

Barcodes will be generated by all found idats in path(s). The default path is the current working directory.

See Also

getMethyLumiSet

Examples

Run this code
if(require(minfiData)){
  path <- system.file("extdata/5723646052", package="minfiData")
  barcodes <- getBarcodes(path = path)
}

Run the code above in your browser using DataLab