private boolean ignoreBelowBackground = true;
+ private boolean infoLetterHeight = false;
+
/**
* consensus calculation property
*/
width = seqsel.width;
ignoreGapsInConsensus = seqsel.ignoreGapsInConsensus;
ignoreBelowBackground = seqsel.ignoreBelowBackground;
+ infoLetterHeight = seqsel.infoLetterHeight;
if (seqsel.conserve != null)
{
recalcConservation(); // safer than
ProfilesI info = AAFrequency.calculateHMMProfiles(hmm,
(endRes + 1) - startRes, startRes, endRes + 1,
- showHMMSequenceLogo, ignoreBelowBackground);
+ showHMMSequenceLogo, ignoreBelowBackground,
+ infoLetterHeight);
_updateInformationRow(info, sequences.size());
upd = true;
}
// width
information.calcId = "HMM";
AAFrequency.completeInformation(information, cnsns, startRes,
- endRes + 1, ignoreBelowBackground, showSequenceLogo, nseq); // TODO:
+ endRes + 1, nseq, 0f); // TODO:
// setting
// container
// for
public boolean getIgnoreBelowBackground()
{
- return true;
+ return ignoreBelowBackground;
+ }
+
+ public void setInfoLetterHeight(boolean state)
+ {
+ if (this.infoLetterHeight != state)
+ {
+ infoLetterHeight = state;
+ }
+ infoLetterHeight = state;
+ }
+
+ public boolean getInfoLetterHeight()
+ {
+ return infoLetterHeight;
}
/**