# NOT RUN {
# Calculates Atom Additive logP and Molar Refractivity Values Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugALOGP(mol)
head(dat)
# Calculates the Sum of the Atomic Polarizabilities Descriptor
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugApol(mol)
head(dat)
# the Sum of the Absolute Value of the Difference between Atomic
# Polarizabilities of All Bonded Atoms in the Molecule
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugBPol(mol)
head(dat)
# Calculates the Number of Hydrogen Bond Acceptors
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugHBondAcceptorCount(mol)
head(dat)
# Calculates the Number of Hydrogen Bond Donors
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugHBondDonorCount(mol)
head(dat)
# Calculates the Number Failures of the Lipinski's Rule Of Five
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugRuleOfFive(mol)
head(dat)
# Descriptor of Topological Polar Surface Area Based on
# Fragment Contributions (TPSA)
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugTPSA(mol)
head(dat)
# Calculates the Total Weight of Atoms
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugWeight(mol)
head(dat)
# Calculates the Prediction of logP
# Based on the Atom-Type Method Called XLogP
smi = system.file('vignettedata/test.smi', package = 'BioMedR')
mol = readMolFromSmi(smi, type = 'mol')
dat = extrDrugLogP(mol)
head(dat)
# }
Run the code above in your browser using DataLab