View source: R/Utility_functions.R
save_GRanges_as_bedGraph | R Documentation |
Save stranded GRanges object as bedGraph file with strand info encoded in the sign of values
save_GRanges_as_bedGraph(gr, filepath, colname = "score")
gr |
|
filepath |
Valid path to the output file. |
colname |
Character (must match the name of the numeric column). |
This function saves a gzipped bedGraph file which contains both positive and negative values (to visualize the coverage of forward and reverse strands in a genome browser).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.