vascr_implode: Generate human-readable sample names from a variety of naming...

View source: R/Naming_functions.R

vascr_implodeR Documentation

Generate human-readable sample names from a variety of naming variables

Description

Generate human-readable sample names from a variety of naming variables

Usage

vascr_implode(
  data.df,
  stripidentical = TRUE,
  colnames = NULL,
  addcols = NULL,
  dropcols = NULL,
  fill_blank = "Control",
  cleanup_sample = FALSE
)

Arguments

data.df

The vascr data frame to generate titles for

stripidentical

Should column which are the same in all samples be removed from the sample name. Default true

colnames

Manually specify the columns included in the sample. Defaults to all the columns which change.

addcols

Columns to explicitly include in the sample name

dropcols

Columns to explicitly exclude from the sample name

fill_blank

String to replace blank values with, defaults to "Control"

cleanup_sample

Remove the underscores between sample names, default FALSE

Value

A vascr dataset with human-readable names

Examples

vascr_implode(growth.df)


JamesHucklesby/vascr documentation built on April 30, 2024, 8:33 a.m.