plotLegend-methods: description of function plot.legend

Description Usage Arguments

Description

Creates the legend for one sample or annotation variable using either the inbuilt color or an external one in the col option. If a file is given, the data will be plotted into a file. If neither pdf of svg is true the data will be plotted to a png file. File endings will always be added - so do not do that yourself.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotLegend(
  x,
  colname,
  file = NULL,
  svg = F,
  pdf = F,
  col = NULL,
  X11type = "cairo",
  family = "Helvetica"
)

Arguments

x

the StefansExpressionSet object

colname

the name of a column in the annotation or samples tables that should be described in the legend

file

the optional outfile

svg

create a svg file default=F

pdf

create a pdf file default=F

col

a vector of color names default=NULL

family

the grDevices font family (default 'Helvetica')


stela2502/BioData documentation built on Feb. 23, 2022, 5:47 a.m.