bed_generator {iCNV} | R Documentation

## Generate BED file for WGS dataset.

### Description

Default position generated from USCS genome browser

### Usage

    bed_generator(chr = numeric(), hg = numeric(), start = NULL, end = NULL,
      by = 1000)

### Arguments

`chr` | Specify the chromosome you want to generate. Must be of int from 1-22. Type integer.
`hg` | Specify the coordinate you want to generate from. Start and end position of hg19 and hg38 have been pre-implemented. Type integer.
`start` | The start position of your BED file. Default NULL
`end` | The end position of your BED file. Default NULL
`by` | The chunk of your DNA for each bin. Type integer. Default 1000.

### Value

void

### Examples

    bed_generator(chr=22,hg=38)
    bed_generator(22,38,5001,10000,by=500)

[Package iCNV version 1.2.1 Index]