Namespace draw_residue_relations
Defined in: naview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Function to parse residue relations description array and style_obj, generating points, width and color scales to each relation object.
|
Namespace Detail
draw_residue_relations
Function to parse residue relations description array and style_obj, generating points, width and color scales to each relation object.
Relations between any residues or drawn elements follows the below syntax:
{
"source":"random_residue_source", //index OR residue_name+index of residue in relationship or valid element name such as: "DomainI;Helix1"
"target":"random_residue_target", //index OR residue_name+index of residue in relationship or valid element name such as: "DomainI;Helix1"
"raw_weight":possibly_random_residue_weight //number indicating strength of each residue or element relationship
"type": "type" //optional type object for describing multiple types of relationships in plor
}
Relations between any residues or drawn elements follows the below syntax:
{
"source":"random_residue_source", //index OR residue_name+index of residue in relationship or valid element name such as: "DomainI;Helix1"
"target":"random_residue_target", //index OR residue_name+index of residue in relationship or valid element name such as: "DomainI;Helix1"
"raw_weight":possibly_random_residue_weight //number indicating strength of each residue or element relationship
"type": "type" //optional type object for describing multiple types of relationships in plor
}
- Parameters:
- {Array} residue_relation_data
- array of residue relation Objects
- {Object} centroid_data
- Dictionary containing centroids of elements and residues
- {Object} full_protein_data
- full data generated by processRawUniProt