Calculate All Molecular Descriptors in Rcpi at Once
Source:R/300-extractDrugAIO.R
extractDrugAIO.Rd
Calculate All Molecular Descriptors in Rcpi at Once
Value
A data frame, each row represents one of the molecules, each column represents one descriptor. Currently, this function returns total 293 descriptors composed of 48 descriptor types.
Note
Note that we need 3-D coordinates of the molecules to calculate
some of the descriptors, if not provided, these descriptors
values will be NA
.
Examples
# Load 20 small molecules that have 3D coordinates
sdf = system.file('sysdata/OptAA3d.sdf', package = 'Rcpi')
# \donttest{
mol = readMolFromSDF(sdf)
#> Error in loadMolecules(normalizePath(sdffile)): The package "rcdk" is required to load molecular structures
dat = extractDrugAIO(mol, warn = FALSE)# }
#> Error in evaluateDescriptor(molecules, type = descNames, silent = silent): The package "rcdk" is required to compute molecular descriptors