Get files for a sample in a directory, ensuring there's only a single match per sample ID.
get.miniseq.sample.files(sample.ids, directory,
file.suffix = "_S\\d{1,2}_.*")Vector of sample ids. Should form first part of file name
Directory where files can be found
Regex expression for end of file name. For example, `file.suffix = '_S\d1,2_.*_R1_.*'` will match R1 files.1 files.
Character vector of file paths