get_sampleIds: Extract Sample IDs from list of files

Description Usage Arguments Value

View source: R/IO-methods.R

Description

Extract Sample IDs from list of files

Usage

1
get_sampleIds(directory = ".", pattern_def = ".tsv", split_def = "[.]")

Arguments

directory

the path to directory that contains the sample files

pattern_def

the pattern string, the part after the end of the sample IDs part

split_def

the character that is used to split words in file names

Value

A list of 2 elements, (1)the sample list & (2)column position with sample IDs in names


gwcbi/MetaOmicSet documentation built on May 20, 2019, 5:21 p.m.