randomize_breaks: Add stocasticity in the brakpoints

View source: R/simulations.R

randomize_breaksR Documentation

Add stocasticity in the brakpoints

Description

Sample the noise from a uniform distribution -(seg_length * shuffle_perc), (seg_length * shuffle_perc) and add it to the breakpoint

Usage

randomize_breaks(breaks, chr, length, chr_lengths, shuffle_perc = 0.1)

Militeee/rcongas documentation built on Nov. 1, 2024, 2:38 a.m.