Learn R Programming

accucor (version 0.3.1)

clean_data_frame: Standardize data frame columns and data types

Description

Standardize data frame columns and data types

Usage

clean_data_frame(df, columns_to_skip = NULL)

Value

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

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.