plotLegend: Internal function to add a legend to a graph plot

Description Usage Arguments Value Examples

View source: R/plotLegend.R

Description

This function adds a legend to a solution plot. It can include the CC similarity.

Usage

1
plotLegend(GO.annot = FALSE, cex = 0.75)

Arguments

GO.annot

Logical, should GO annotations be included?

cex

Numeric value, cex parameter for the function legend

Value

This function is only used for its effect, so it returns invisible()

Examples

1
2
3
4
5
6
7
8
## This function is internal

library(igraph)
g <- barabasi.game(20)
plot(g)
FELLA:::plotLegend()
plot(g)
FELLA:::plotLegend(GO.annot = TRUE)

b2slab/FELLA documentation built on March 3, 2021, 2:22 p.m.