Methods
addMassDataToTable(matchedPeaks)
    Add Data to the table created
    Parameters:
| Name | Type | Description | 
|---|---|---|
| matchedPeaks | Array | Contains List of Matched and unmatched peaks | 
createMonoMassTable()
    Function to create table
        
            
    
    
    getMassListFromUI()
    getlist of Mass,Intensity and charge from UI
        
            
    
    
    getPeakListFromUI()
    Function to get data of peaks and intensity from UI
        
            
    
    
    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 | 
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 | 
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 | 
setTotalSeqMass(totalMass)
    Set Total mass on to the html
    Parameters:
| Name | Type | Description | 
|---|---|---|
| totalMass | * | 
showIonPeaks()
    Function to show only matched or unmatched peaks
        
            
    
    
    showPeakCounts()
    Function to display matched count and un-matched count
        
            
    
    
    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 |