}
if (dataset instanceof IsotopesDataSet) {
IsotopesDataSet isotopeDataSet = (IsotopesDataSet) dataset;
IsotopePattern pattern = isotopeDataSet.getIsotopePattern();
double relativeIntensity = intValue
/ pattern.getHighestIsotope().getIntensity() * 100;
String tooltip = "Isotope pattern: " + pattern.getDescription()
+ "\nStatus: " + pattern.getStatus() + "\nData point m/z: "