Calculate the Kier and Hall Chi Chain Indices of Orders 3, 4, 5, 6 and 7
Source:R/317-extractDrugChiChain.R
extractDrugChiChain.Rd
Calculate the Kier and Hall Chi Chain Indices of Orders 3, 4, 5, 6 and 7
Value
A data frame, each row represents one of the molecules, each column represents one feature. This function returns 10 columns, in the following order:
SCH.3
- Simple chain, order 3SCH.4
- Simple chain, order 4SCH.5
- Simple chain, order 5SCH.6
- Simple chain, order 6SCH.7
- Simple chain, order 7VCH.3
- Valence chain, order 3VCH.4
- Valence chain, order 4VCH.5
- Valence chain, order 5VCH.6
- Valence chain, order 6VCH.7
- Valence chain, order 7
Details
Evaluates chi chain descriptors. The code currently evluates the simple and valence chi chain descriptors of orders 3, 4, 5, 6 and 7. It utilizes the graph isomorphism code of the CDK to find fragments matching SMILES strings representing the fragments corresponding to each type of chain.
Note
These descriptors are calculated using graph isomorphism to identify the various fragments. As a result calculations may be slow. In addition, recent versions of Molconn-Z use simplified fragment definitions (i.e., rings without branches etc.) whereas these descriptors use the older more complex fragment definitions.
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 = extractDrugChiChain(mol)
#> Error in evaluateDescriptor(molecules, type = "ChiChainDescriptor", silent = silent): The package "rcdk" is required to compute molecular descriptors
head(dat)# }
#> Error: object 'dat' not found