# NOT RUN {
# Calculates the Number of Amino Acids Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugAminoAcidCount(mol)
head(dat)
# Calculates the Number of Aromatic Atoms Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugAromaticAtomsCount(mol)
head(dat)
# Calculates the Number of Aromatic Bonds Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugAromaticBondsCount(mol)
head(dat)
# Calculates the Number of Atom Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugAtomCount(mol)
head(dat)
# Calculates the Descriptor Based on the Number of Bonds of a
# Certain Bond Order
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugBondCount(mol)
head(dat)
# Descriptor that Calculates the Number of Atoms in the Largest Chain
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugLargestChain(mol)
head(dat)
# Descriptor that Calculates the Number of Atoms in the Largest Pi Chain
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugLargestPiSystem(mol)
head(dat)
# Descriptor that Calculates the Number of Atoms in the Longest Aliphatic Chain
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugLongestAliphaticChain(mol)
head(dat)
# Descriptor that Calculates the Number of Nonrotatable Bonds on A Molecule
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugRotatableBondsCount(mol)
head(dat)
# }
Run the code above in your browser using DataLab