clean_data_frame {accucor}R 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


[Package accucor version 0.3.1 Index]