formatSample: Format function for sample definition

View source: R/utils.R

formatSampleR Documentation

Format function for sample definition

Description

Sample names will be converted from file names using this function. File names will be splitted depending on the sep param and the element corresponding to the index will be returned

Usage

formatSample(index = 1, sep = "[[:punct:]]")

Arguments

index

numeric. The element to return

sep

ragular expression. Input files will be splitted accordingly

Value

formatted sample names


GiBacci/expR documentation built on Oct. 15, 2022, 12:15 a.m.