|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.molecular.FMFDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.molecular.FMFDescriptorTest") public class FMFDescriptor
An implementation of the FMF descriptor characterizing complexity of a molecule.
The descriptor is described in [Yang, Y. and Chen, H. and Nilsson, I. and Muresan, S. and Engkvist, O., Investigation of the Relationship between Topology and Selectivity for Druglike Molecules, J. Med. Chem., 2010, ASAP:] and is an approach to characterizing molecular complexity based on the Murcko framework present in the molecule. The descriptor is the ratio of heavy atoms in the framework to the total number of heavy atoms in the molecule. By definition, acyclic molecules which have no frameworks, will have a value of 0. Note that the authors consider an isolated ring system to be a framework (even though there is no linker). This descriptor returns a single double value, labeled as "FMF"
MurckoFragmenter| Constructor Summary | |
|---|---|
FMFDescriptor()
|
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtomContainer container)
Calculates the FMF descriptor value for the given IAtomContainer. |
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
IDescriptorResult |
getDescriptorResultType()
Returns the specific type of the FMF descriptor value. |
String[] |
getParameterNames()
Returns the names of the parameters for this descriptor. |
Object[] |
getParameters()
Returns the current parameter values. |
Object |
getParameterType(String name)
Returns a class matching that of the parameter with the given name. |
DescriptorSpecification |
getSpecification()
Returns a Map which specifies which descriptor
is implemented by this class. |
void |
setParameters(Object[] params)
Sets the parameters for this descriptor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FMFDescriptor()
| Method Detail |
|---|
@TestMethod(value="testCarbinoxamine,testIsamoltane,testPirenperone") public DescriptorValue calculate(IAtomContainer container)
IAtomContainer.
calculate in interface IMolecularDescriptorcontainer - An IAtomContainer for which this descriptor
should be calculated
DescriptorValue that contains the
calculated FMF descriptor value as well as specification detailspublic IDescriptorResult getDescriptorResultType()
DescriptorValue object. Note that the same result
can be achieved by interrogating the DescriptorValue object; this method
allows you to do the same thing, without actually calculating the descriptor.
Additionally, the length indicated by the result type must match the actual
length of a descriptor calculated with the current parameters. Typically, the
length of array result types vary with the values of the parameters. See
IDescriptor for more details.
getDescriptorResultType in interface IMolecularDescriptorDoubleResultTypepublic DescriptorSpecification getSpecification()
Map which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification in interface IDescriptorpublic String[] getParameterNames()
getParameterNames in interface IDescriptorpublic Object getParameterType(String name)
getParameterType in interface IDescriptorname - The name of the parameter whose type is requested
public void setParameters(Object[] params)
throws CDKException
setParameters in interface IDescriptorparams - An array of Object containing the parameters for this descriptor
CDKException - if invalid number of type of parameters are passed to itgetParameters()public Object[] getParameters()
getParameters in interface IDescriptorsetParameters(java.lang.Object[])public String[] getDescriptorNames()
getDescriptorNames in interface IDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||