Methods
getMassListToColorBG(position, color)
Function to get all the positions and color to be add background color
Parameters:
Name | Type | Description |
---|---|---|
position |
Integer | Contains position at which mass shif to be added |
color |
String | Contians background color(comes from dropdown list) to be added to the mass shift |
- Source:
rect_Backgroundcolor(x, y, id, color)
Function to add background color at occurence acids
Parameters:
Name | Type | Description |
---|---|---|
x |
Integer | Starting x position to add background color |
y |
Integer | Strating y position to add background color |
id |
String | Contains id of svg tag from html |
color |
String | Background color to be added |
- Source:
setBackGroundColorOnMassShift(bgColorList)
Function Adds selected background color to the amino acid
Parameters:
Name | Type | Description |
---|---|---|
bgColorList |
Array | Set all the aminoacids with desired background colors selected from drop down |
- Source: