This function samples a random locus given the chromosome lenght (
interval_width from a chromosome
sample_chromosome_intervals( chr_size, interval_width, strand, size, replace = TRUE, prob = NULL )
an integer value defining the length of the chromosome.
the length of the interval that shall be sampled.
from which strand should the interval be sampled? Options are:
a non-negative integer giving the number of sequences that shall be sampled from random genomic loci.
logical value indicating whether sampling should be with replacement. Default:
a vector of probability weights for obtaining the elements of the vector being sampled. Default is