ram_cache {FastRet}R Documentation

RAM Cache Environment

Description

An environment used for caching data in RAM.

Usage

ram_cache

Format

An environment with the following elements:

Details

This environment is used by getCDsFor1Molecule() to store the results of previous calculations to speed up subsequent calls. It gets initalized upon the first call of getCDsFor1Molecule() with the chemical descriptors for all molecules available in the RP dataset and the HILIC dataset of the Retip package.

References

Retip: Retention Time Prediction for Compound Annotation in Untargeted Metabolomics Paolo Bonini, Tobias Kind, Hiroshi Tsugawa, Dinesh Kumar Barupal, and Oliver Fiehn Analytical Chemistry 2020 92 (11), 7515-7522 DOI: 10.1021/acs.analchem.9b05765

Examples

dim(ram_cache$CDs) # 0 241
cds <- getCDsFor1Molecule(cache = TRUE, verbose = TRUE)
dim(ram_cache$CDs) # 1316 241
ram_cache$CDRowNr[["COC1=C(C=CC(=C1)CCN)O"]] # 2
ram_cache$CDs[1:10, 1:3]

[Package FastRet version 1.1.3 Index]