View source: R/rearrangement-utils.R
ggRearrange | R Documentation |
ggplot wrapper for plotting reads supporting a rearrangement
ggRearrange(df, ylab = "Read pair index", basepairs = 400, num.ticks = 5)
df |
a |
ylab |
y-axis label |
basepairs |
integer specifying size of window in basepairs |
num.ticks |
integer specifying number of x-axis ticks |
rearDataFrame
data(rlist)
extdata <- system.file("extdata", package="svbams")
unmap.file <- file.path(extdata, "blat_unmapped.txt")
blat_unmap <- readBlat(unmap.file)
split_reads <- rearrangedReads(linkedBins(rlist),
blat_unmap, 500)
splitReads(rlist) <- split_reads
rlist2 <- fiveTo3List(rlist, build="hg19")
r <- rlist2[[1]]
df <- rearDataFrame(r, "hg19")
## Not run:
ggRearrange(df)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.