Class: UIHelper

UIHelper()

Class to help the get and put data into html file. This also helps to create HTML tags like creating table

Constructor

new UIHelper()

Source:

Methods

addMassDataToTable(matchedPeaks)

Add Data to the table created
Parameters:
Name Type Description
matchedPeaks Array Contains List of Matched and unmatched peaks
Source:

createMonoMassTable()

Function to create table
Source:

getMassListFromUI()

getlist of Mass,Intensity and charge from UI
Source:

getPeakListFromUI()

Function to get data of peaks and intensity from UI
Source:

setMassDifference(precursorMass, proteinMass)

Set Mass difference on to the html
Parameters:
Name Type Description
precursorMass Float Contains Precursor mass
proteinMass Float Contains calculated protein Mass
Source:

setMassErrorValue(massErrorthVal)

Function to set default error value to HTML in Da units
Parameters:
Name Type Description
massErrorthVal Float Contains Mass Error Value in Da units
Source:

setPPMErrorValue(ppmErrorthVal)

Function to Set Default error value to HTML in ppm units
Parameters:
Name Type Description
ppmErrorthVal Float Contains Mass Error in ppm units
Source:

setTotalSeqMass(totalMass)

Set Total mass on to the html
Parameters:
Name Type Description
totalMass *
Source:

showIonPeaks()

Function to show only matched or unmatched peaks
Source:

showPeakCounts()

Function to display matched count and un-matched count
Source:

writeMassErrorThreshholdValueToUI(massErrorthVal, ppmErrorthVal)

Set Default Mass errors into html of both Da and ppm units
Parameters:
Name Type Description
massErrorthVal Float Contains Mass error in Da units
ppmErrorthVal Float Contains ppm error in ppm units
Source: