Description Usage Arguments Details Value Author(s) Examples
This function enables to visually asses the stucture(s) entropy in comparison with protein's entropy
1 2 | plot_structure_on_protein(protein_entropy, structure_profiles,
pdb_name, colors, structure_names, legend_pos)
|
protein_entropy |
A list of entropy values for protein of interest. Output of |
structure_profiles |
Output of |
pdb_name |
(optional) A string with protein's name e.g. PDB ID, default: none |
colors |
(optional) A vector of strings with colors to be used to plot the stucture markers of length equal to number of structures in structure profiles, default: rainbow() |
structure_names |
(optional) A vector of strings to be displayed as names in the legend, default: "stru <no>" |
legend_pos |
(optional) A string witch legend position - one of following: "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right" and "center". Default: "bottomleft" |
For each entropy score from structure_profiles (these must correspond to prot_entropy) this function plots separate plots. Each plot presents entropy score for whole protein each structure is marked as one of 21 symbols available in generic plot
function.
This function produces plot
Alicja Pluciennik & Michal Stolarczyk
1 2 3 4 5 6 7 8 9 10 11 12 | data("alignment")
data("structure")
indices=get_structures_idx(structure)
protein_index = indices$proteinIndices
structure_index = indices$structureIndices
entropy_scores_list=list(Schneider_entropy = schneider_conservativity(alignment),
Escore_entropy = Escore_conservativity(alignment))
structure_entropy=get_structures_entropy(structure_index, entropy_scores_list)
structure_profile = prepare_structure_profile(structure, structure_entropy)
prot_entropy=get_prot_entropy(protein_index, entropy_scores_list)
plot_structure_on_protein(prot_entropy, structure_profile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.