Class LegacyLibraryMcsAdapter
java.lang.Object
chemaxon.clustering.libmcs.adapter.LegacyLibraryMcsAdapter
API adapter to use
LibraryMcs
clustering with the new clustering API.
Please note that this class is marked with the Beta
annotation. This class might be changed or
completely removed in any of the subsequent releases.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FrameworkClusteringResults
cluster
(LegacyLibraryMcsParameters parameters, Iterator<Molecule> molecules) Launch clustering.static LegacyLibraryMcsParameters
Create default clustering parameters.
-
Method Details
-
defaultParameters
Create default clustering parameters.- Returns:
- Default clustering parameters.
-
cluster
public static FrameworkClusteringResults cluster(LegacyLibraryMcsParameters parameters, Iterator<Molecule> molecules) Launch clustering.- Parameters:
parameters
- Parameters for the underlyingLibraryMcs
clusteringmolecules
- Input molecules. Please note that the input molecules will be altered during clustering: they will be aromatized usingMoleculeGraph.aromatize()
and additional properties (structure index) will be stored.- Returns:
- Clustering results. Please note that the retrieval of the original input structures is not a responsibility of the returned results object.
-