CompToxCSVtoLocalCSVterms: Prepare CompTox Dashboard MetFrag Export CSV files for...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/MetFragConfigR.R

Description

This function prepares CompTox CSV Export files for use in MetFragCL. It extracts numeric metadata field names for inclusion as scoring terms.

Usage

1
CompToxCSVtoLocalCSVterms(csv_file, start_index=15)

Arguments

csv_file

Full path and file name to the Dashboard Export file to process

start_index

The column number where the metadata columns start (default 15 is appropriate for CompTox Dashboard MetFragBeta Export file format released March 2018)

Value

Returns a list containing the CSV file name, a list of scoring terms to add to the MetFrag config file and a corresponding score weights entry.

Author(s)

Emma Schymanski <emma.schymanski@uni.lu> in partnership with Christoph Ruttkies (MetFragCL), Antony J. Williams and team (CompTox Dashboard)

See Also

MetFragConfig, runMetFrag

Examples

1
2
CompToxCSV <- system.file("extdata","CompToxBatchSearch_MetFrag_MSready_C10H14N2_wSelectMetaData.csv",package="ReSOLUTION")
LocalCSVterms <- CompToxCSVtoLocalCSVterms(CompToxCSV)

schymane/ReSOLUTION documentation built on May 22, 2021, 3:41 a.m.