Learn R Programming

bedr (version 1.1.3)

bed2vcf: convert bed to vcf

Description

convert bed to vcf

Usage

bed2vcf(x, filename = NULL, zero.based = TRUE, header = NULL, fasta = NULL)

Arguments

x

the input bed object

filename

a filename to write to.

zero.based

is the file zero based i.e. bed format. defaults to true.

header

a list of things to put in the header. repeated elements such as INFO, FILTER, FORMAT can be put in data.frames.

fasta

build of the genome in fasta format

Author

Daryl Waggott

Examples

Run this code
if (FALSE) {
  bed2vcf(x)
  }

Run the code above in your browser using DataLab