read_elmaven {accucor} | R Documentation |
Natural Abundance correction for Carbon labeled samples
Description
Natural Abundance correction for Carbon labeled samples
Usage
read_elmaven(
path,
sheet = NULL,
compound_database = NULL,
columns_to_skip = NULL,
filetype = NULL,
...
)
Arguments
path |
Path to input file. |
sheet |
Name of sheet in xlsx file with columns 'compound', 'formula', 'isotopelabel', and one column per sample. Defaults to the first sheet. |
compound_database |
Path to compound database in csv format. Only used for classic MAVEN style input when formula is not specified. |
columns_to_skip |
Specify column heading to skip. All other columns not named 'compound', 'formula', and 'isotopelabel' will be assumed to be sample names. |
filetype |
Specify file type, default is to determine by file extension. |
... |
Pass additional parameters to readxl::read_excel |
Value
List containing three items: "original" data.frame which is result of read_excel, "cleaned" data.frame which with columns 'compound', 'formula', 'isotope_label', label_index', followed by columns for each sample, and "isotope" which is a character indicating the isotope
Examples
## Not run:
read_elmaven_xlsx("ExcelFile", "Sheet1")
## End(Not run)