clean_data_frame: Standardize data frame columns and data types

View source: R/io_functions.R

clean_data_frameR Documentation

Standardize data frame columns and data types

Description

Standardize data frame columns and data types

Usage

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 Sept. 14, 2023, 5:09 p.m.