# NOT RUN {
# Topological Descriptor Characterizing the Carbon Connectivity
# in Terms of Hybridization
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugCarbonTypes(mol)
head(dat)
# Calculates the Eccentric Connectivity Index Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugECI(mol)
head(dat)
# Calculates the FMF Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugFMF(mol)
head(dat)
# Calculate Complexity of a System
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugFragmentComplexity(mol)
head(dat)
# Calculate Molecular Distance Edge (MDE) Descriptors for C, N and O
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugMDE(mol)
head(dat)
# Calculates the Petitjean Number of a Molecule
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugPetitjeanNumber(mol)
head(dat)
# Calculates the Petitjean Shape Indices
sdf = system.file('sysdata/test.sdf', package = 'BioMedR')
mol = readMolFromSDF(sdf)
dat = extrDrugPetitjeanShapeIndex(mol)
head(dat)
# Calculates the Volume of A Molecule
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugVABC(mol)
head(dat)
# Calculates the Vertex Adjacency Information of A Molecule
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugVAdjMa(mol)
head(dat)
# Calculates the Weighted Path (Molecular ID)
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugWeightedPath(mol)
head(dat)
# Calculates Wiener Path Number and Wiener Polarity Number
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugWienerNumbers(mol)
head(dat)
# Calculates the Sum of the Squared Atom Degrees
# of All Heavy Atoms
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugZagrebIndex(mol)
head(dat)
# }
Run the code above in your browser using DataLab