get.chr.bins: Generates a GenomicRanges objact containing genomic bins...

Description Usage Arguments Value

View source: R/shattered.regions.r

Description

Generates a GenomicRanges objact containing genomic bins based on a given bin size. If a cnv (svcnvio) object is provided the chromosome limits will be obtaind from mapped regions, otherwise chromosome limits will be obtained from the database (D3GB)

Usage

1
get.chr.bins(cnv = NULL, genome.v = "hg19", window.size = 10, slide.size = 2)

Arguments

cnv

(S4) an object of class svcnvio containing data type 'cnv' initialized by validate.cnv

genome.v

(hg19 or hg38) reference genome version to generate genoic bins (ignored if cnv is not NULL)

window.size

(numeric) size in megabases to generate genomic bins

slide.size

(numeric) size in megabases of the sliding genomic window; slide.size must be <= 1

Value

an instance of the class 'chromo.regs' containing information about shattered regions


ccbiolab/svpluscnv documentation built on Sept. 9, 2020, 4:52 a.m.