Description Usage Arguments Value Examples
Add a custom coloring or grouping scheme for ungrouped or grouped amino acids as desired.
1 2 3 4 5 |
color |
A named vector of character. This vector specifies different colors for visualizing the different amino acids or amino acid groups. |
symbol |
A named vector of character. This vector specifies the different symbols for visualizing the different amino acids or amino acid groups. |
group |
A list or NULL. If only coloring amino acids of similar property is
desired, set |
Add the custom coloring or grouping scheme to the environment
cacheEnv
.
1 2 3 4 5 6 7 8 9 10 | ## Add a grouping scheme based on the BLOSUM50 level 3
color = c(LVIMC = "#33FF00", AGSTP = "#CCFF00",
FYW = '#00FF66', EDNQKRH = "#FF0066")
symbol = c(LVIMC = "L", AGSTP = "A", FYW = "F", EDNQKRH = "E")
group = list(
LVIMC = c("L", "V", "I", "M", "C"),
AGSTP = c("A", "G", "S", "T", "P"),
FYW = c("F", "Y", "W"),
EDNQKRH = c("E", "D", "N", "Q", "K", "R", "H"))
addScheme(color = color, symbol = symbol, group = group)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.