hilbertDisplayThreeChannel: Show up to three data vectors in the Hilbert curve display...

Description Usage Arguments Value Note Author(s) See Also

View source: R/HilbertCurveDisplay.R

Description

This is a variant of hilbertDisplay that takes up to three long data vector but does not display them in different panels (allowing to switch with the “Previous” and “Next” buttons but instead put them in one picture, using the three colour channels to overlay them. This is look for correlations in spatial distribution of the different data vectors.

Usage

1
2
3
4
5
6
7
hilbertDisplayThreeChannel(
   dataRed, 
   dataGreen = 0, 
   dataBlue = 0, 
   naColor = col2rgb("gray"), 
   fullLength = max(length(dataRed), length(dataGreen), length(dataBlue)), 
   portrait = FALSE)

Arguments

dataRed

The data to be displayed in the red colour channel, to be provided as a numeric vector with values between 0 (black) and 1 (bright red). You may either pass an ordinary R vector or an Rle vector as defined in the IRanges package.

dataGreen

As dataRed but for the green channel.

dataBlue

As dataRed but for the blue channel.

naColor

The color to use to indicate NA.

fullLength

The vector length that should correspond to the full display. By default, the length of the longest data vector. It may make sense to round up to the next power of two.

portrait

Whether to arrange the buttons to the right of the display. Useful on small screens.

Value

Invisible NULL.

Note

This function is a bit less mature than the function hilbertDisplay. Especially, the GUI functions “Linear plot”, “Previous”, and “Next” are displayed but defunct.

Author(s)

Simon Anders

See Also

hilbertDisplay


HilbertVisGUI documentation built on Nov. 8, 2020, 5:48 p.m.