makeRandomTestData: generate a long vector of example data that is suitable to...

Description Usage Arguments Value Author(s) Examples

View source: R/hilbert.R

Description

This function generates a long numeric vector and fills it with many narrow Gaussian peaks of varying width and position. Around 30 the distribution of peak width is changed to be substantially larger. This feature is easily visible with the Hilbert curve visualization but much harder to spot with conventional 1D plots.

Usage

1
makeRandomTestData(len = 1e+07, numPeaks = 500)

Arguments

len

Length of the vector

numPeaks

Number of peaks to be placed in the vector

Value

A vector, of type 'numeric', with sample data.

Author(s)

Simon Anders, EMBL-EBI, [email protected]

Examples

1
# See the help page of function 'hilbertImage' for an example.

HilbertVis documentation built on May 6, 2019, 2:15 a.m.