Learn R Programming

varitas (version 0.0.2)

extract.sample.ids: Extract sample IDs from file paths

Description

Extract sample IDs from a set of paths to files in sample-specific subfolders

Usage

extract.sample.ids(paths, from.filename = FALSE)

Arguments

paths

vector of file paths

from.filename

Logical indicating whether sample ID should be extracted from filename rather than path

Value

vector of extracted sample IDs