makeRandomTestData {HilbertVis} | R Documentation |
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.
makeRandomTestData(len = 1e+07, numPeaks = 500)
len |
Length of the vector |
numPeaks |
Number of peaks to be placed in the vector |
A vector, of type 'numeric', with sample data.
Simon Anders, EMBL-EBI, sanders@fs.tum.de
# See the help page of function 'hilbertImage' for an example.