list.celfiles: List CEL files.

Description Usage Arguments Value Note See Also Examples

Description

Function used to get a list of CEL files.

Usage

1
	list.celfiles(..., listGzipped=FALSE)

Arguments

...

Passed to list.files

listGzipped

Logical. List .CEL.gz files?

Value

Character vector with filenames.

Note

Quite often users want to use this function to pass filenames to other methods. In this situations, it is safer to use the argument 'full.names=TRUE'.

See Also

list.files

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
if (require(hapmapsnp5)){
  path <- system.file("celFiles", package="hapmapsnp5")

  ## only the filenames
  list.celfiles(path)

  ## the filenames with full path...
  ## very useful when genotyping samples not in the working directory
  list.celfiles(path, full.names=TRUE)
}else{
  ## this won't return anything
  ## if in the working directory there isn't any CEL
  list.celfiles(getwd())
}

benilton/oligoClassesOld documentation built on May 12, 2019, 11:51 a.m.