getBarcodes: Get barcodes from idat file names

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/snUtils.R

Description

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

Usage

1
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.

Details

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

Value

A character vector of barcodes.

Author(s)

Ryan Putney ryanputney@gmail.com

See Also

getMethyLumiSet

Examples

1
2
3
4
if(require(minfiData)){
  path <- system.file("extdata/5723646052", package="minfiData")
  barcodes <- getBarcodes(path = path)
}

skewr documentation built on Nov. 8, 2020, 8:08 p.m.