Splots Definition
- Noun the bleach left a small white splotch on my shirt Verb ink from a leaking pen had badly splotched his shirt pocket Recent Examples on the Web: Noun When Miles spritzed it with water, the black splotch bloomed bright and green.
- DOI: 10.18129/B9.bioc.splots Visualization of high-throughput assays in microtitre plate or slide format. Bioconductor version: Release (3.12) The splots package provides the plotScreen function for visualising data in microtitre plate or slide format.
Utilities for plotting with a color scale
splot
is designed to combine a standard R plot with a legend representing a (continuous) color scale. This is done by splitting the plotting region into two parts. Keeping one for the main chart and putting the legend in the other.
The United States holds its presidential election on November 3rd after a long and sometimes rancorous campaign. Here are a few colourful examples of American political slang taken from the Collins Dictionary that may catch the eye across the pond: Read more.
sxxxx
functions (spoints
, simage
and spersp
) draw the corresponding high-level plot (xxxx
) with a legend strip for the color scale.
These functions are based on function image.plot
of packagefields, see its documentation for additional information.
jet.colors
and hot.colors
create a color table useful for contiguous color scales and scolor
assigns colors to a numerical vector.
- Keywords
- hplot
Usage
Arguments
limits used to set up the color scale.
color table used to set up the color scale (see image
fordetails).
(optional) numeric vector with the breakpoints for the color scale: must have one more breakpoint than col
and be in increasing order.
logical; if FALSE
(default) legend will be a vertical strip on theright side. If TRUE
the legend strip will be along the bottom.
amount to shrink the size of legend relative to thefull height or width of the plot.
width in characters of the legend strip. Default is1.2, a little bigger that the width of a character.
width in characters of legend margin that has the axis.Default is 5.1 for a vertical legend and 3.1 for a horizontal legend.
label for the axis of the color legend. Default is nolabel as this is usual evident from the plot title.
plot coordinates for main plot. If not passed these will be determined within the function.
plot coordinates for legend strip. If not passed thesewill be determined within the function.
if breaks are supplied these are text string labels toput at each break value. This is intended to label axis on a transformedscale such as logs.
additional arguments for the axis function used to createthe legend axis (see image.plot
for details).
Tardieu Spots Definition
arguments for a complete specification of the legendlabel. This is in the form of list and is just passed to the mtext
function. Usually this will not be needed (see image.plot
for details).
logical; if TRUE
the legend strip is just added to the existing plot.
values to be converted to the color scale.
number of colors (>= 1
) to be in the palette.
logical; if TRUE
, the palette is reversed (decreasing overall luminosity).
Details
scolor
converts a real valued vector to a color scale. The range slim
is divided into length(col) + 1
pieces of equal length.Values which fall outside the range of the scale are coded as NA
.
jet.colors
generates a rainbow style color table similar to the MATLAB (TM) jet color scheme. It may be appropriate to distinguish between values above and below a central value (e.g. between positive and negative values).
hot.colors
generates a color table similar to the MATLAB (TM) hot color scheme (reversed by default). It may be appropriate to represent values ranging from 0 to some maximum level (e.g. density estimation). The default value rev = TRUE
may be adecuate to grayscale convertion.
Value
splot
invisibly returns a list with the following 3 components:
plot coordinates of the main plot. These values may be useful for drawing a plot without the legend that is the same size as the plots with legends.
plot coordinates of the secondary plot (legend strip).
previous graphical parameters (par(old.par)
will reset plot parameters to the values before entering the function).
jet.colors and hot.colors return a character vector of colors (similar to heat.colors or terrain.colors; see rgb).
Side Effects
After exiting, the plotting region may be changed (par('plt')
) to make it possible to add more features to the plot.
See Also
spoints
, simage
, spersp
, image
, image.plot
.
Aliases
Mongolian Spots Definition
- splot
- scolor
- jet.colors
- hot.colors
Examples
Community examples
Hot Spots Definition
verb (used with or without object), noun
QUIZZES
DO YOU KNOW WHICH OF THESE WORDS WERE INSPIRED BY PEOPLE?
Words nearby splosh
Spots Definition Politics
Example sentences from the Web for splosh
Age Spots Definition
The committee hustled me into the hall with no more damage than one rather slushy splosh of snow perilously close to my neck.
But if, happening to be in his company, I saw his head in a breakable aspect—splosh!
I war scared right enough, and the start I gave caused me to roll from the seat where I was sitting splosh into the water.
With one big splosh the whole five hundred-weight of us flopped gaily over into the mire.
E made a splosh like a sack o' taters droppin' off the bridge.