randomGRanges: Generate random GRanges of equal length in the same sequence

Description Usage Arguments Value Author(s) See Also

Description

Generate random GRanges of equal length in the same sequence

Usage

1
randomGRanges(GRanges, N = 1, replace = T, within1sequence = T)

Arguments

GRanges

GRanges object

N

how many randomised GRanges to create

replace

passed to sample.int

within1sequence

logical, if TRUE ranges of equal lenght are sampled from the same sequence. If false, ranges of equal length are sampled from all sequences (while keeping the number of ranges in each sequence).

Value

Genomic Ranges list object containing N randomised GRanges objects

Author(s)

Vitalii Kleshchevnikov

See Also

ELMdb2GRanges, GRangesINinteractionSubsetFASTA


vitkl/SLIMFinderR documentation built on May 3, 2019, 8:08 p.m.