get.miniseq.sample.files {varitas} | R Documentation |
get.miniseq.sample.files
Description
Get files for a sample in a directory, ensuring there's only a single match per sample ID.
Usage
get.miniseq.sample.files(sample.ids, directory,
file.suffix = "_S\\d{1,2}_.*")
Arguments
sample.ids |
Vector of sample ids. Should form first part of file name |
directory |
Directory where files can be found |
file.suffix |
Regex expression for end of file name. For example, ‘file.suffix = ’_S\d1,2_.*_R1_.*'' will match R1 files.1 files. |
Value
Character vector of file paths
[Package varitas version 0.0.2 Index]