Topological Descriptor Characterizing the Carbon Connectivity in Terms of Hybridization
Source:R/316-extractDrugCarbonTypes.R
extractDrugCarbonTypes.Rd
Topological Descriptor Characterizing the Carbon Connectivity in Terms of Hybridization
Value
A data frame, each row represents one of the molecules,
each column represents one feature.
This function returns 9 columns named
C1SP1
, C2SP1
, C1SP2
, C2SP2
, C3SP2
,
C1SP3
, C2SP3
, C3SP3
and C4SP3
.
Details
Calculates the carbon connectivity in terms of hybridization. The function calculates 9 descriptors in the following order:
C1SP1
- triply hound carbon bound to one other carbonC2SP1
- triply bound carbon bound to two other carbonsC1SP2
- doubly hound carbon bound to one other carbonC2SP2
- doubly bound carbon bound to two other carbonsC3SP2
- doubly bound carbon bound to three other carbonsC1SP3
- singly bound carbon bound to one other carbonC2SP3
- singly bound carbon bound to two other carbonsC3SP3
- singly bound carbon bound to three other carbonsC4SP3
- singly bound carbon bound to four other carbons
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 = extractDrugCarbonTypes(mol)
#> Error in evaluateDescriptor(molecules, type = "CarbonTypesDescriptor", silent = silent): The package "rcdk" is required to compute molecular descriptors
head(dat)# }
#> Error: object 'dat' not found