Skip to contents

Calculate Chemical Descriptors for a list of molecules. Molecules can appear multiple times in the list.

Usage

getCDs(df = read_rp_xlsx(), verbose = 1, nw = 1)

Arguments

df

dataframe with two mandatory columns: "NAME" and "SMILES"

verbose

0: no output, 1: progress, 2: more progress and warnings

nw

number of workers for parallel processing

Value

A dataframe with the chemical descriptor values appended as columns to the input dataframe.

Examples

cds <- getCDs(head(RP, 3), verbose = 1, nw = 1)
#> 2024-06-28 07:36:23.15 Obtaining chemical descriptors for a dataframe of dimension 3 x 3
#> 2024-06-28 07:36:23.15 Calculating chemical descriptors
#> 2024-06-28 07:36:23.15 Loading chemical descriptors for 'CCC(C(=O)O)O' from RAM cache
#> 2024-06-28 07:36:23.16 Loading chemical descriptors for 'COC1=C(C=CC(=C1)CCN)O' from RAM cache
#> 2024-06-28 07:36:23.16 Loading chemical descriptors for 'C1=NC2=C(N1)C(=NC=N2)N' from RAM cache
#> 2024-06-28 07:36:23.16 Collecting results
#> 2024-06-28 07:36:23.16 Finished calculating chemical descriptors in 0.005181551 secs