Descriptor that Calculates the Vertex Adjacency Information of A Molecule
Source:R/344-extractDrugVAdjMa.R
extractDrugVAdjMa.Rd
Descriptor that Calculates the Vertex Adjacency Information of A Molecule
Value
A data frame, each row represents one of the molecules,
each column represents one feature.
This function returns one column named VAdjMat
.
Details
Vertex adjacency information (magnitude):
\(1 + \log_2^m\) where \(m\) is the number of heavy-heavy bonds.
If \(m\) is zero, then 0
is returned.
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 = extractDrugVAdjMa(mol)
#> Error in evaluateDescriptor(molecules, type = "VAdjMaDescriptor", silent = silent): The package "rcdk" is required to compute molecular descriptors
head(dat)# }
#> Error: object 'dat' not found