circosLegend {MetCirc} | R Documentation |
circosLegend
plots a legend for circos plot using
group names.
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
## 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)