plotOverlapsLegend: plot a legend for 'plotOverlaps' plots

View source: R/clusterTools.R

plotOverlapsLegendR Documentation

plot a legend for plotOverlaps plots

Description

plot a legend for plotOverlaps plots

Usage

plotOverlapsLegend(
  p.min = 1e-10,
  p.txt = 1e-05,
  type = 1,
  round = 0,
  show.text = TRUE,
  text,
  l = 5,
  n = 100,
  col,
  dir = 1,
  labels = TRUE,
  ...
)

Arguments

p.min

significance cutoff, p-values equal or smaller to this cutoff will appear black (one-sided tests) or red/blue (two-sided tests)

p.txt

p-value cutoff for showing overlap numbers as white instead of black text

type

1-sided or 2-sided tests

round

round parameter for numeric text

show.text

show log10(p) as text fields (to indicated text p-value cutoff)

text

optional single character to be shown as black/white text in the legend (e.g. text="n" to indicate the counts used in plots of clusterCluster results

l

number of fields to show in plot

n

number of color shades between p=1 (white) and p >= p.min (black)

col

color ramp, default are grey values (one-sided) or red (above) and blue (below) for two-sided tests, length of this vector overrules parameter n

dir

horizontal (1) or vertical (2) orientation

labels

add axis labels

...

further arguments to plotOverlaps


raim/segmenTools documentation built on May 5, 2024, 11:30 a.m.