bed_generator: Generate BED file for WGS dataset.

Description Usage Arguments Value Examples

View source: R/bed_generator.R

Description

Default position generated from USCS genome browser

Usage

1
2
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

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

zhouzilu/iCNV documentation built on Feb. 16, 2020, 4:53 p.m.