breakpointr2UCSC | R Documentation |
Write a bedfile or bedgraph from a breakpointR object for upload on to the UCSC Genome browser.
breakpointr2UCSC( index, outputDirectory, fragments = NULL, deltaWs = NULL, breakTrack = NULL, confidenceIntervals = NULL, breaksGraph = NULL )
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
## 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.