ProvideSampleId: Create sampleid from path to experiment datafile

ProvideSampleIdR Documentation

Create sampleid from path to experiment datafile

Description

Returns a "unique" sample ID when supplied with a path to an experimental file. The second arg is optional, defaults to "old" behaviour, but can be set to "dirname" for another behaviour. The second arg was added so as not to break older code.

Usage

ProvideSampleId(pathexpfile, implementation = "filename")

Arguments

pathexpfile

path to an experiment datafile

implementation

defaults to "old" behaviour, can also be set to "dirname"

Value

a sampleid (character string)


chepec/R-common documentation built on July 27, 2023, 11:33 a.m.