prepare_features_tables: Prepare features table

View source: R/prepare_features_tables.R

prepare_features_tablesR Documentation

Prepare features table

Description

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

## Not run: 
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)

## End(Not run)

taxonomicallyinformedannotation/tima-r documentation built on Nov. 20, 2024, 4:34 a.m.