dot-reformatFeatureTable: .reformatFeatureTable

.reformatFeatureTableR Documentation

.reformatFeatureTable

Description

Tries to identify the format of a feature table input data frame and reformats it for compatibility with constructFeatureTable

Usage

.reformatFeatureTable(
  df,
  from = c("auto", "unknown", "mzMINE Aligned Peak List",
    "MetaboAnalyst Peak Intensity Table", "MS-DIAL Alignment Result")
)

Arguments

df

data.frame

from

input format. If auto, will run .getFTFormat to determine the format.

Value

a list

  • df: reformatted input data.frame

  • grouping: anagrouptable format (if grouping information can be extracted from input) or NULL

  • from: which input format was used


mjhelf/Metaboseek documentation built on April 23, 2022, 12:09 p.m.