Description Usage Arguments Value Author(s) See Also Examples
This function returns across-sample average coverage of all the exons or selected exons from given genes. The average calculation could be mean
or median
, while the later is default method considering its robustness towards outliers.
1 | avgExonCoverage(obj, gene.name = NULL, type = c("RPKM"), method = "median")
|
obj |
an object of |
gene.name |
a character vector of gene.name. A value of NULL instructs the function to use all the genes |
type |
"RPKM" or "raw" coverage. Default value "RPKM" refers to normalized coverage |
method |
"mean" or "median"; it specificies how average coverage is computed |
a numerical vector of average coverages of exons
Chen Wang
sample-level coverage summary sampleCoverage
1 2 3 4 5 6 7 8 9 10 | #=== 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)
#=== print median/mean exon-coverage of selected genes
avgExonCoverage(germline.data,gene.name=c("BIK"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.