new MultiScan()
This class contains functions to load data of all the spectrums ms1, ms2 with multiple scans.
This calss generates navigation elements to navigate between different spectrums
- Source:
Methods
createMonoMassNavEements(scanidList, id)
Function to Create Navigation buttons for MonoMass Spectrum for multiple spec Id information
Parameters:
Name | Type | Description |
---|---|---|
scanidList |
Array | List with Scan Ids |
id |
String | Contians SVG tag id on which the monomass spectrum graph needs to be drawn |
- Source:
createMs1NavEements(element, id)
Function to Create Navigation buttons for Ms1 Spectrum with spec Id information
Parameters:
Name | Type | Description |
---|---|---|
element |
Array | Contains Scan Id List |
id |
String | Contains SVG id of the MS1 spectrum to be drawn |
- Source:
createMs2NavEements(scanidList, id)
Function to Create Navigation buttons to navigate between spectrums
Parameters:
Name | Type | Description |
---|---|---|
scanidList |
Array | Contains scan Id List |
id |
String | Contains Id of the avg on which spectrum to be drawn |
- Source:
getUniqueScanIdList(MultiScanList)
Function to get unique list of scan Ids
Parameters:
Name | Type | Description |
---|---|---|
MultiScanList |
Array | Contains list of scan ids |
- Source:
promiseLoadDataJS(specidList, scanIdList, ms1_ms2_json)
- This function waits till all the data of multiple spectrums are
loaded and then generates navigation tabs to switch between spectrums
Parameters:
Name | Type | Description |
---|---|---|
specidList |
Array | Contains all the spec ids |
scanIdList |
Array | Contains all the scan ids |
ms1_ms2_json |
String | Contains the folder name |
- Source: