ram_cache | R Documentation |
An environment used for caching data in RAM.
ram_cache
An environment with the following elements:
CDs
: A data frame. The column names of CDs
are the chemical descriptors listed in CDFeatures. The rownames in CDs
are SMILES strings.
CDRowNr
: A list. The names of the list elements equal the rownames of CDs
. The values are the indices of the rows in the CDs
data frame.
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.
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
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]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.