Description Usage Arguments Value Author(s) Examples
Write a bedfile or bedgraph from a breakpointR object for upload on to the UCSC Genome browser.
1 2 3 4 5 6 7 8 9 |
index |
A character used to name the bedfile(s). |
outputDirectory |
Location to write bedfile(s). |
fragments |
A |
deltaWs |
A |
breakTrack |
A |
confidenceIntervals |
A |
breaksGraph |
A |
NULL
Ashley Sanders, David Porubsky, Aaron Taudt
1 2 3 4 5 6 7 | ## Get an example file
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
exampleFile <- list.files(exampleFolder, full.names=TRUE)[1]
## Load the file
brkpts <- get(load(exampleFile))
## Write results to BED files
breakpointr2UCSC(index='testfile', outputDirectory=tempdir(), breakTrack=brkpts$breaks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.