Skip to content

MarvinSketch Structure Display Parameters

Concepts

The description and usage of R-group structures in Marvin can be found in the R-groups and Markush Structures in MarvinSketch paragraph of the Marvin User's Guide.

Hiding R-group Definitions

By default, MarvinSketch displays all the R-group definitions that belong to a scaffold.
Sometimes it is very practical to hide the R-group definitions because they take up too much place from the display and we would like to emphasize the scaffold.
The result of switching off the R-group definitions can be seen in the picture below.

MarvinSketch structure display parameter example

The code below is taken from SketchParams.java, where the R-group definitions are hidden using the setParams method of the MSketchPane class.

1
2
3
4
5
    msketchPane.
  setParams
  (ParameterConstants.R_GROUPS_VISIBLE+
  "=false"
  );