Skip to main content

mcs()

mcs(table, column, returnSmarts, exactAtomSearch, exactBondSearch): Promise<string>

Finds Most Common Substructure in the specified column. See example: https://public.datagrok.ai/js/samples/domains/chem/mcs

Parameters

ParameterTypeDefault valueDescription
tableDataFrameundefined-
columnstringundefinedColumn with SMILES to analyze.
returnSmartsbooleanfalse-
exactAtomSearchbooleantrue-
exactBondSearchbooleantrue-

Returns

Promise<string>

Async

Source

src/chem.ts:771