Descriptor that Calculates Kier and Hall Kappa Molecular Shape Indices
Source:R/329-extractDrugKappaShapeIndices.R
extractDrugKappaShapeIndices.Rd
Descriptor that Calculates Kier and Hall Kappa Molecular Shape Indices
Value
A data frame, each row represents one of the molecules,
each column represents one feature.
This function returns 3 columns named
Kier1
, Kier2
and Kier3
:
Kier1
- First kappa shape indexKier2
- Second kappa shape indexKier3
- Third kappa shape index
Details
Kier and Hall Kappa molecular shape indices compare the molecular graph with minimal and maximal molecular graphs; see https://bit.ly/3ramdBy for details: "they are intended to capture different aspects of molecular shape. Note that hydrogens are ignored. In the following description, n denotes the number of atoms in the hydrogen suppressed graph, m is the number of bonds in the hydrogen suppressed graph. Also, let p2 denote the number of paths of length 2 and let p3 denote the number of paths of length 3".
Examples
smi = system.file('vignettedata/FDAMDD.smi', package = 'Rcpi')
# \donttest{
mol = readMolFromSmi(smi, type = 'mol')
#> Error in parseSmiles(smi): The package "rcdk" is required to parse SMILES
dat = extractDrugKappaShapeIndices(mol)
#> Error in evaluateDescriptor(molecules, type = "KappaShapeIndicesDescriptor", silent = silent): The package "rcdk" is required to compute molecular descriptors
head(dat)# }
#> Error: object 'dat' not found