searchIDATprefixes {sesame} | R Documentation |
The input is the directory name as a string. The function identifies all the IDAT files under the directory. The function returns a vector of such IDAT prefixes under the directory.
searchIDATprefixes(dir.name, recursive = FALSE)
dir.name |
the directory containing the IDAT files. |
recursive |
search IDAT files recursively |
the IDAT prefixes (a vector of character strings).
## only search what are directly under IDATprefixes <- searchIDATprefixes( system.file("extdata", "", package = "sesameData")) ## search files recursively IDATprefixes <- searchIDATprefixes( system.file(package = "sesameData"), recursive=TRUE)