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/Mosaic documentation built on April 28, 2022, 11:32 a.m.