Description Usage Arguments Details Value
Function to convert GenomicRanges objects into BED-like data frames.
1 | gr2bed(gr)
|
gr |
a GenomicRanges object |
The function produces a BED-like data frame where the 4th, 5th and 6th columns correspond to the name, the score and the strand associated to the feature. If the 'gr' object has a column called 'name', the name will be taken from this column, otherwise will be set to '.'. For the score, if a column named 'score' is present in the 'gr' object, the value will be taken from this column, otherwise it will be set to '.'. Any additional columns in the 'gr' object will be added as additional annotation from the 7th column on.
A data frame with at least six columns with the following info: chromosome, initial position, final position, name of the feature, score and strand.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.