| bed_to | R Documentation | 
Convert a BED file to any format supported by rtracklayer::export.
bed_to(
  files,
  build,
  keep_chr = NULL,
  formats = c("bigwig", "bigbed"),
  save_dir = tempdir(),
  verbose = TRUE,
  ...
)
files | 
 Paths to one or more BED files.  | 
build | 
 Genome build.  | 
keep_chr | 
 Which chromosomes to keep.  | 
formats | 
 A character vector of one or more formats for export file to.  | 
save_dir | 
 Path to save bigBed files.  | 
verbose | 
 Print messages.  | 
... | 
 Arguments passed on to  
  | 
Converted file paths.
rtracklayer issues reading/writing files
files <- system.file("tests","test.bed",package = "rtracklayer")
out <- bed_to(files=files)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.