generate_test_granges: Generate a test GRanges object

Description Usage Arguments Details Author(s) Examples

View source: R/generate_test_granges.R

Description

Generate a test GRanges object

Usage

1
gintools:::generate_test_granges(n_sites = 5, n_reads_p_site = 20, site_range = 1:1000, read_width_range = 30:100)

Arguments

n_sites

number of sites to generate

n_reads_p_site

number of reads per site

site_range

numeric vector to sample from for postion of the integration sites

read_width_range

range of widths to sample from for each read

stdev

numeric, standard deviation of the integration site distribution around the selected positions

positions

a numeric vector of preselected positions.

Details

Varies the integration start position in with a normal distribution around the random integration site and then assignes a random uniform distribution of widths for the sites.

Author(s)

Christopher Nobles, Ph.D.

Examples

1
gintools:::generate_test_granges()

cnobles/gintools documentation built on Aug. 22, 2019, 10:36 a.m.