Description Usage Arguments Details Value Author(s) Examples
Internal function for shiny application. May also be used outside of shiny to reconstruct figures.
1 | createOrderedSimMat(similarityMatrix, order = c("retentionTime", "mz", "clustering"))
|
similarityMatrix |
|
order |
|
createOrderSimMat
takes a similarity matrix and a
character
vector
as arguments. It will then reorder rows and columns of
the similarityMatrix object such, that it orders rows and columns of
similarityMatrix according to m/z, retention time or clustering in
each group. createOrderSimMat
is employed in the shinyCircos
function to create similarityMatrix
objects which will allow to switch
between different types of ordering in between groups (sectors) in the
circos plot. It may be used as well externally, to reproduce plots outside
of the reactive environment (see vignette for a workflow).
createOrderedSimMat
returns a similarity matrix with ordered
rownames according to the character
vector given to order
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 | data("binnedMSP", package = "MetCirc")
data("similarityMat", package = "MetCirc")
## order according to retention time
createOrderedSimMat(similarityMatrix = similarityMat, order = "retentionTime")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.