View source: R/rearrangement-utils.R
rearDataFrame | R Documentation |
This function is useful for converting a Rearrangement object to a data.frame for subsequent visualization by ggplot.
rearDataFrame(r, build, maxgap = 5000)
r |
a |
build |
character string indicating genome build (only hg19 and hg18 currently supported) |
maxgap |
the allowable distance between a split or paired end read and a transcript for assessing whether coding regions |
extdata <- system.file("extdata", package="svbams")
rfile <- file.path(extdata, "CGOV11T_1.bam.rds")
rlist <- readRDS(rfile)
r <- rlist[[1]]
r2 <- fiveTo3Prime(r, "hg19")
rearDataFrame(r2[[1]], "hg19")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.