Skip to contents

Sample directories

Usage

sampleDirs(uploadDir)

Arguments

uploadDir

character(1). Final upload directory path.

Value

Named character. Sample directory paths.

Note

Updated 2022-03-07.

Function will intentionally error when no sample directories match.

Author

Michael Steinbaugh

Examples

uploadDir <- system.file("extdata/bcbio", package = "bcbioBase")
x <- sampleDirs(uploadDir)
#>  2 samples detected:
#> • sample_1
#> • sample_2
basename(x)
#> [1] "sample_1" "sample_2"