Description Usage Arguments Value Author(s) See Also Examples
Creates bedGraph or BigWig file(s) with track(s) of CAGE signal supporting each TSS that can be visualised in the UCSC Genome Browser.
1 2 3 4 5 6 | exportCTSStoBedGraph(object, values = "normalized", format = "BigWig",
oneFile = TRUE)
## S4 method for signature 'CAGEr'
exportCTSStoBedGraph(object, values = "normalized",
format = "BigWig", oneFile = TRUE)
|
object |
A |
values |
Specifies which values will be exported to the bedGraph file. Can be either
|
format |
The format of the output. |
oneFile |
Logical, should all CAGE datasets be exported as individual tracks into the
same bedGraph file (TRUE) or into separate bedGraph files (FALSE). Used only when
|
Creates bedGraph or BigWig file(s) in the working directory that can be directly
visualised as custom tracks in the UCSC Genome Browser. If format="bedGraph"
and
oneFile = TRUE
one bedGraph file containing multiple annotated tracks will be created,
otherwise two files per CAGE dataset will be created, one for plus strand and one for minus
strand CTSSs, and they will be named according to the labels of individual datasets. All
bedGraph files contain headers with track description and can be directly uploaded as custom
tracks to the UCSC Genome Browser.
When format="bigWig"
, two binary BigWig files per CAGE dataset are created, one for
plus strand and one for minus strand CTSSs. Since BigWig files cannot contain headers with
track description, a separate file named "CTSS.normalized.all.samples.track.description.txt"
is created, which contains track headers for all BigWig files. To use these headers for
adding custom tracks to the UCSC Genome Browser, move the BigWig files to a web location and
edit the bigDataUrl sections in the headers file to point to corresponding BigWig files.
Vanja Haberle
Other CAGEr export functions: exportToBed
1 2 | exportCTSStoBedGraph(exampleCAGEset, values = "normalized", format = "bedGraph", oneFile = TRUE)
exportCTSStoBedGraph(exampleCAGEset, values = "normalized", format = "BigWig", oneFile = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.