full_genome_regions: Create regularly spaced regions along the whole genome.

Description Usage Arguments Value See Also Examples

Description

Create regularly spaced regions along the whole genome.

Usage

1
full_genome_regions(genome_version, region_size = NULL, reg_overlap = 0)

Arguments

genome_version

character. The genome version of your bam file. Currently supported are "hg19" and "hg38".

region_size

integer. Size of the regions computed along the genome. Should ideally be a power of 2, if it isn't it is coerced to one.

reg_overlap

numeric. fraction of overlap for regions.

Value

A tbl_df with chromosome, start, and end columns.

See Also

Other data import functions: read_bed, read_cov, read_par_file

Examples

1
full_genome_regions("hg19", region_size = 2^20)

anasrana/spector documentation built on May 14, 2019, 2:36 p.m.