vcf2bedpe | R Documentation |
Convert a vcf to a bedpe file. Currently, it needs to read into R via read.vcf
vcf2bedpe(x, filename = NULL, header = FALSE, verbose = TRUE)
x |
a vcf object |
filename |
the name of the output bedpe file, if NULL then bedpe is not exported |
header |
indicate if the bed file has header or not when exported |
verbose |
detailed messages |
A bedpe styled R object or an external file
Helena Winata
gridss.vcf.example <- system.file("extdata/gridssSV.vcf.gz", package = "bedr")
x <- read.vcf(gridss.vcf.example, split.info = TRUE)
x.bedpe <- vcf2bedpe(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.