latestSubDir: Convenience function to find a subdirectory matching the...

View source: R/csvParam2Json.R

latestSubDirR Documentation

Convenience function to find a subdirectory matching the given pattern.

Description

The subfolders should follow the scheme [<label>_]<timestamp>_<outputType>/

Usage

latestSubDir(parentDir, pattern = "_mut_call$|mut_count$")

Arguments

parentDir

the parent folder in which to look for matching subfolders

pattern

a regex pattern used to identify the correct subfolder

Value

a vector containing the path to the subfolder, its timestamp and any possible label.


jweile/tileseqMave documentation built on April 5, 2024, 4:51 p.m.