![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <RGroupDecomp.h>
Public Member Functions | |
| RGroupDecomposition (const ROMol &core, const RGroupDecompositionParameters ¶ms=RGroupDecompositionParameters()) | |
| RGroupDecomposition (const std::vector< ROMOL_SPTR > &cores, const RGroupDecompositionParameters ¶ms=RGroupDecompositionParameters()) | |
| ~RGroupDecomposition () | |
| int | getMatchingCoreIdx (const ROMol &mol, std::vector< MatchVectType > *matches=nullptr) |
| int | add (const ROMol &mol) |
| RGroupDecompositionProcessResult | processAndScore () |
| bool | process () |
| const RGroupDecompositionParameters & | params () const |
| std::vector< std::string > | getRGroupLabels () const |
| return the current group labels | |
| RGroupRows | getRGroupsAsRows () const |
| return rgroups in row order group[row][attachment_point] = ROMol | |
| RGroupColumns | getRGroupsAsColumns () const |
| return rgroups in column order group[attachment_point][row] = ROMol | |
Definition at line 55 of file RGroupDecomp.h.
| RDKit::RGroupDecomposition::RGroupDecomposition | ( | const ROMol & | core, |
| const RGroupDecompositionParameters & | params = RGroupDecompositionParameters() ) |
References params().
| RDKit::RGroupDecomposition::RGroupDecomposition | ( | const std::vector< ROMOL_SPTR > & | cores, |
| const RGroupDecompositionParameters & | params = RGroupDecompositionParameters() ) |
References params().
| RDKit::RGroupDecomposition::~RGroupDecomposition | ( | ) |
| int RDKit::RGroupDecomposition::add | ( | const ROMol & | mol | ) |
Returns the index of the added molecule in the RGroupDecomposition or a negative error code
| mol | Molecule to add to the decomposition |
| int RDKit::RGroupDecomposition::getMatchingCoreIdx | ( | const ROMol & | mol, |
| std::vector< MatchVectType > * | matches = nullptr ) |
Returns the index of the core matching the passed molecule and optionally the matching atom indices
| mol | Molecule to check for matches |
| matches | Optional pointer to std::vector<MatchVectType> where core matches will be stored |
| std::vector< std::string > RDKit::RGroupDecomposition::getRGroupLabels | ( | ) | const |
return the current group labels
| RGroupColumns RDKit::RGroupDecomposition::getRGroupsAsColumns | ( | ) | const |
return rgroups in column order group[attachment_point][row] = ROMol
| RGroupRows RDKit::RGroupDecomposition::getRGroupsAsRows | ( | ) | const |
return rgroups in row order group[row][attachment_point] = ROMol
| const RGroupDecompositionParameters & RDKit::RGroupDecomposition::params | ( | ) | const |
Referenced by RGroupDecomposition(), and RGroupDecomposition().
| bool RDKit::RGroupDecomposition::process | ( | ) |
| RGroupDecompositionProcessResult RDKit::RGroupDecomposition::processAndScore | ( | ) |