clean_data_frame: Standardize data frame columns and data types

Description Usage Arguments Value

View source: R/io_functions.R

Description

Standardize data frame columns and data types

Usage

1
clean_data_frame(df, columns_to_skip = NULL)

Arguments

df

Data frame to clean

columns_to_skip

Specify column heading to skip. All other columns not named 'compound', 'formula', and 'isotopelabel' will be assumed to be sample names.

Value

"cleaned" data.frame which with columns 'compound', 'formula', 'isotope_label', label_index', followed by columns for each sample


accucor documentation built on Nov. 17, 2021, 5:07 p.m.