Description Usage Arguments Details Value Examples
This function plots entropies of protein. Plots might be superimposed or not.
1 2 | plot_entropy(protein_conservation, colors, impose = NULL,
prot_name = NULL, legend_pos = NULL)
|
protein_conservation |
A list or a vectors of protein conservation/entropies. The output of |
colors |
(optional) A vector of colors for each plot, default: rainbow |
impose |
(optional) A boolean, if True/T plots are superimposed, if False/F plots are printed separately, default: TRUE |
prot_name |
(optional) A string with structure name (to be used in the tile of the plot), default: NULL |
legend_pos |
(optional) A string witch legend position - one of following: "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right" and "center". Default: "bottomleft" |
This function produces plots for given values, on X axis are amino acids, on Y axis are values of entropy/conservation. Legend contains score names for description values.
This function produces plots
1 2 3 4 5 6 7 8 9 10 11 | data("alignment")
data("structure")
uniprot="P34914"
structure_index=get_structures_idx(structure)
entropy_scores_list=list(Schneider_entropy = schneider_conservativity(alignment),
Escore_entropy = Escore_conservativity(alignment))
prot_entropy=get_prot_entropy(structure_index$proteinIndices, entropy_scores_list)
plot_entropy(prot_entropy, colors = c("red","green","blue"),
impose = TRUE, prot_name = "Murine Epoxide Hydrolase",
legend_pos = "bottomright")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.