plot.legend-methods: description of function plot.legend

plot.legendR Documentation

description of function plot.legend

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

plot.legend(x, colname, file = NULL, svg = F, pdf = F, col = NULL)

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


stela2502/Rscexv documentation built on July 6, 2022, 9:02 p.m.