View source: R/amplicon-utils.R
makeAGraph | R Documentation |
Initialize a graph object for amplicon analyses
makeAGraph(segs, af, params)
segs |
a |
af |
a list of germline filters |
params |
a list of parameters |
ampliconParams
library(svfilters.hg19)
library(svbams)
library(Rsamtools)
data(germline_filters)
##
## read in some CNVs
##
cv.extdata <- system.file("extdata", package="svbams")
segs <- readRDS(file.path(cv.extdata, "cgov44t_segments.rds"))
extdata <- system.file("extdata", package="svbams")
bview <- BamViews(bamPaths=file.path(extdata, "cgov44t_revised.bam"))
params <- ampliconParams()
germline_filters[["germline_cnv"]] <- GRanges()
germline_filters[["outliers"]] <- GRanges()
makeAGraph(segs, germline_filters, params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.