add_error_to_motif {funMoDisco} | R Documentation |
Add Additive Error to Motif
Description
This function adds an additive noise to a given motif based on specified parameters. The noise is generated as a percentage of the standard deviation of the motif.
Usage
add_error_to_motif(or_y, noise_str, start_point, end_point, k)
Arguments
or_y |
A numeric vector representing the original motif values. |
noise_str |
A string or numeric vector indicating the structure of the noise to be added. |
start_point |
A numeric vector indicating the starting points of motifs. |
end_point |
A numeric vector indicating the ending points of motifs. |
k |
An integer representing the current iteration or motif index. |
Details
Add Error to Motif
Value
A numeric vector of the motif values with added noise.
[Package funMoDisco version 1.0.0 Index]