randomizes the locations of input segments, while maintaining
the length distributions, optionally different distributions
of different segment classes. Coordinates have been converted to a
continuous index over all chromosomes with
Note, that this ignores chromosome borders!
TODO: allow to pass chromosome length index chrS to account
for chromosome borders.
randomSegments(query, qclass, total)
query set of segments to be randomized
column name which holds a sub-classification (clustering) of the query segments, omit or pass empty string ("") to use all
total length of the query range (genome length), if missing the start of the first segment is also used as end.
The function is also used for permutation tests in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.