Skip to contents

This function prepares features

Usage

prepare_features_tables(
  features = get_params(step = "prepare_features_tables")$files$features$raw,
  output = get_params(step = "prepare_features_tables")$files$features$prepared,
  name_adduct = get_params(step = "prepare_features_tables")$names$adduct,
  name_features = get_params(step = "prepare_features_tables")$names$features,
  name_rt = get_params(step = "prepare_features_tables")$names$rt$features,
  name_mz = get_params(step = "prepare_features_tables")$names$precursor
)

Arguments

features

Path to the file containing the features data

output

Path to the file to export the merged data to

name_adduct

Name of the adduct column in the features data

name_features

Name of the features column in the features data

name_rt

Name of the retention time column in the features data

name_mz

Name of the m/z column in the features data

Value

The path to the prepared feature table

Examples

if (FALSE) { # \dontrun{
tima:::copy_backbone()
go_to_cache()
get_file(
  url = get_default_paths()$urls$examples$features,
  export = get_params(step = "prepare_features_tables")$files$features$raw
)
prepare_features_tables()
unlink("data", recursive = TRUE)
} # }