Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/MetFragConfigR.R
This is a CompTox SDF Export-specific wrapper function for MetFragConfig
.
1 2 | MetFragConfig.CompToxExportSDF(mass, adduct_type, results_filename, peaklist_path, base_dir,
CompToxSDFtoLocalSDFterms, ...)
|
mass |
The mass with which to search the candidate database ( |
adduct_type |
The adduct species used to define mass (if |
results_filename |
Enter a base filename for naming the results files - do not include file endings |
peaklist_path |
Enter the full path and file name to the peak list for this config file |
base_dir |
Enter the directory name to set up the subfolders for MetFrag batch results. If the folders don't exist,
subfolders |
CompToxSDFtoLocalSDFterms |
The output of |
Remaining parameters are described in MetFragConfig
Returns a MetFrag config file name
Emma Schymanski <emma.schymanski@uni.lu> in partnership with Christoph Ruttkies (MetFragCL), Antony J. Williams and team (CompTox Dashboard)
MetFragConfig
, runMetFrag
, CompToxSDFtoLocalSDFterms
1 2 3 4 5 6 7 8 9 | # Example from DOI: 10.1021/acs.est.7b01908
CompToxSDF <- system.file("extdata","CompToxBatchSearch_MetFrag_MSready_C10H14N2.sdf",package="ReSOLUTION")
LocalSDFterms <- CompToxSDFtoLocalSDFterms(CompToxSDF)
peaklist <- system.file("extdata","EQ300804_Nicotine_peaks.txt",package="ReSOLUTION")
test_dir <- "C:/DATA/Workflow/MetFrag22/metfrag_test_results"
config_file <- MetFragConfig.CompToxExportSDF(163.1230, "[M+H]+","Nicotine_PrecMass_MpHp_SDF",peaklist, test_dir, LocalSDFterms)
metfrag_dir <- "C:/DATA/Workflow/MetFrag22/"
MetFragCL_name <- "MetFrag2.4.4-msready-CL.jar"
runMetFrag(config_file, metfrag_dir, MetFragCL_name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.