convert_piped_col_names_to_single_names: Convert piped column names into one of the elements of the...

View source: R/stackable_functions.R

convert_piped_col_names_to_single_namesR Documentation

Convert piped column names into one of the elements of the name.

Description

Converts piped column names into one of the elements of the name.

Usage

convert_piped_col_names_to_single_names(
  my_dt = NULL,
  col_names = NULL,
  my_summary = NULL,
  position = 2,
  sample_key = get_default_sample_key(),
  readme_path = NULL
)

Arguments

my_dt

data.table input

col_names

Vector of character strings to name the columns that will have this operation performed on them. Uses operatable_columns

my_summary

Character string to change the default comment that will be appended to my_dt.

position

Integer indicating which pipe element do you want

sample_key

Character string to specify the column that is the sample key. This column will not be operated upon.

readme_path

Optional path to which the comments will be appended.

Details

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert_piped_col_names_to_single_names ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.