Skip to contents

Bridge metabolite data based on a conversion factor file

Usage

bridge(
  object,
  conversion_factor_data = NULL,
  QC_ID_pattern = "MTRX",
  verbose = TRUE
)

Arguments

object

A Metabolite object. In the `featureData`, `conversion_factor_ID` column should be created to match with conversion_factor_data.

conversion_factor_data

A data set with columns `conversion_factor_ID` and `conversion_factor_value`.

QC_ID_pattern

A character pattern to determine QC samples. Default value: "MTRX". Skip QC samples when rescale (median value is already 1).

verbose

print log information.

Value

A Metabolite object after multiplying by conversion factor.