gather_sample_list: Return a list of subsetinput data based on specified data...

Description Usage Arguments Value

View source: R/gather_sample_list.R

Description

Return a list of subsetinput data based on specified data types, file paths, and sample names.

Usage

1
gather_sample_list(data_types, input_files, sample_names)

Arguments

data_types

Character vector, for example "MLXP", "MLXP_promax", "MLXP_polycl"

input_files

Paths to data files from which to extract relevant data. Structured as a list, with each element of the list containing a character vector of paths corresponding to data_type of the same index.

sample_names

Sample names corresponding to relevant column names in data files.

Value

Named list. Name of each element is corresponding data_type. And value of each element is table of corresponding data.


brandonsie/phipcc documentation built on June 2, 2020, 6:19 a.m.