Description Usage Arguments Details Examples
Plots a heatmap with the conservation score for each residue colored according to the scheme shown in Jalview (htt://www.jalview.org).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | plotConservationMatrix(x, ...)
## S4 method for signature 'matrix'
plotConservationMatrix(
x,
tree,
raster = FALSE,
tile.color = "transparent",
show.tips = FALSE,
show.consensus = FALSE,
size = 8
)
## S4 method for signature 'AAMultipleAlignment'
plotConservationMatrix(
x,
tree,
raster = FALSE,
tile.color = "transparent",
show.tips = FALSE,
show.consensus = FALSE,
size = 8
)
|
x |
a matrix as obtained with conservationMatrix() or an AAMultipleAlignment object. |
... |
arguments passed down to matrix-method. |
tree |
a tree of class dendrogram or that can be coerced into. |
raster |
logical; whether to use geom_raster (best for large alignments). |
tile.color |
color for the tile borders (default: transparent). |
show.tips |
logical; whether to show sequence ids. |
show.consensus |
logical; whether to show consensus sequence. |
size |
text size for consensus sequence. |
Sometimes computing the conservation matrix with conservationMatrix can be time consuming. In that case it might be better to store the output of conservationMatrix in a variable and pass that to plotConservationMatrix.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.