pivotDFinDir: Merge all the tabular text files in a directory and perform...

View source: R/utils.R

pivotDFinDirR Documentation

Merge all the tabular text files in a directory and perform an optional pivot

Description

Merge all the tabular text files in a directory and perform an optional pivot

Usage

pivotDFinDir(
  input_dir,
  ID_col_name,
  value_col_name,
  sep = "\t",
  skip_pivot = FALSE
)

Arguments

input_dir

Character. Name of directory.

ID_col_name

Character. Name of the column that contains the ID to be used as pivot.

value_col_name

Character. Name of the column that contains the value to be used as pivot.

sep

Character. Separator of the tabular data.

skip_pivot

Logical. Whether the pivot should be performed.

Value

Data frame


TedCCLeung/PhotoperiodMotif documentation built on April 27, 2022, 9:01 p.m.