Description Usage Arguments Details Value Note Author(s) Examples
Generate a random multi-dimensional profile with breakpoints and noise
1 | randomProfile(length, nBkp, noiseLevel, dim, minLength = 0)
|
length |
length of the profile |
nBkp |
number of breakpoints |
noiseLevel |
variance of the signal between two breakpoints |
dim |
dimension of the profile |
minLength |
minimum length of region between breakpoints by default minLength = 0 |
Generate a random profile (vector) of length length
, with nBkp
breakpoints randomly chosen. Between two breakpoints, the profile is
constant, uniformly chosen between 0 and 1, and a Gaussian noice of variance
noiseLevel
is added.
a list
with elements
the profile (a length
by dim
matrix)
the list of breakpoints positions (the last position at the left of a breakpoint)
This implementation is derived from the MATLAB code by Vert and Bleakley: http://cbio.ensmp.fr/GFLseg.
Morgane Pierre-Jean and Pierre Neuvial
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.