Description Usage Arguments Details Value Author(s) Examples
circosLegend
plots a legend for circos plot using
group names.
1 | circosLegend(groupname, highlight = TRUE, colour = NULL, cex = 1)
|
groupname |
|
highlight |
|
colour |
|
cex |
|
Internal use in shinyCircos
or outside of shinyCircos
to reproduce figures.
The function will open a new plot and display colours together with labels.
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 5 6 7 8 | ## load binnedMSP
data("binnedMSP", package = "MetCirc")
## use only a selection
binnedMSP <- binnedMSP[c(1:20, 29:48, 113:132, 240:259),]
similarityMat <- createSimilarityMatrix(binnedMSP)
groupname <- rownames(similarityMat)
## plot legend
circosLegend(groupname, highlight = TRUE, colour = NULL, cex = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.