generate_legend: generate a legend

View source: R/graph_visualization.R

generate_legendR Documentation

generate a legend

Description

it often helps to have a legend displayed for reference.

Usage

generate_legend(
  in_assign,
  upper_names = TRUE,
  img = FALSE,
  width = 800,
  height = 400,
  pointsize = 70,
  ...
)

Arguments

in_assign

the assign object from annotation_combinations

upper_names

whether to make names uppercase for easier viewing

img

should a base64 encoded data uri be returned for embedding?

width

how wide should the image be if saving to an image

height

how high should it be

pointsize

the pointsize parameter for Cairo, determines textsize in the image

...

any other parameter to pie


MoseleyBioinformaticsLab/categoryCompare2 documentation built on April 30, 2024, 9:09 p.m.