Description Usage Arguments Author(s) See Also Examples
This function displays coverage plot for given genes, to facilitate quality-check if samples having reasonable coverage in particular gene regions.
1 2 | geneCoverageQC(data.name, sel.gene.name,
legend.layout = "topleft", legend.cex = 0.5)
|
data.name |
an object of |
sel.gene.name |
a character vector of genes of interest |
legend.layout |
a character vector of legend location. It should be "bottomright", "bottom", "bottomleft", "left", "topleft", "top", "topright", "right", "center" or "none". When "none" is used, no legend will be plotted for clarity |
legend.cex |
legend character expansion factor relative to current par("cex") |
Chen Wang
1 2 3 4 5 6 7 8 9 10 11 12 13 | #=== load a simulation example
config.filename <- "sim1.ini"
makeSimulation(config.filename)
sim.session <- createSession(config.filename)
#=== scan coverages of multiple samples
germline.data <- scanMultiCovg(session.name=sim.session)
#=== generate coverage plot for two genes
geneCoverageQC(germline.data, c("BIK","TTLL1"))
#=== generate the same coverage plot but hiding sample-legend for clarity
geneCoverageQC(germline.data, c("BIK","TTLL1"), legend.layout="none")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.