Description Usage Arguments Details Value See Also Examples
View source: R/utils_exports.R
bed format for multiple exons per group, as transcripts. Can be use as alternative as a sparse .gff format for ORFs. Can be direct input for ucsc browser or IGV
1 | export.bed12(grl, file, rgb = 0)
|
grl |
A GRangesList |
file |
a character path to valid output file name |
rgb |
integer vector, default (0), either single integer or vector of same size as grl to specify groups. It is adviced to not use more than 8 different groups |
If grl has no names, groups will be named 1,2,3,4..
NULL (File is saved as .bed)
Other utils:
bedToGR()
,
convertToOneBasedRanges()
,
export.wiggle()
,
fimport()
,
findFa()
,
fread.bed()
,
optimizeReads()
,
readBam()
,
readWig()
1 2 | grl <- GRangesList(GRanges("1", c(1,3,5), "+"))
# export.bed12(grl, "output/path/orfs.bed")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.