Creates BED file suitable for upload as a custom track to the UCSC genome browser. Note that start coordinates are 0-based in the BED format.
1 | writeBEDFromGRanges(gr, file, name = NULL)
|
gr |
A GenomicRanges object. |
file |
Filename of the BED file to write. |
name |
Column name to use for the name field in the BED file (optional) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.