View source: R/write-bedGraph.R
write_bedGraph | R Documentation |
Writes a bedGraph conform file with coordinates defined by vectors: "contig", "start", and "end". According to: https://genome.ucsc.edu/goldenPath/help/bedgraph.html "start" and "end" are zero indexed and half opened. The caller needs to make sure that this is fullfilled.
write_bedGraph(file, contig, start, end, value)
file |
String represents the filename of the BED graph file. |
contig |
vector of character string represting the contig(s) |
start |
vector of numericals zero indexed (>= 0) |
end |
vector of numericals half opened: [start, end) |
value |
vector of character strings or numericals representing value(s) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.