Description Usage Arguments Value Author(s) See Also Examples
This function summarizes exon-level coverage for multi samples defined by given patternCNV session information.
1 2 | scanMultiCovg(session.name, sample.type = NULL, bin.size = 10,
is.verbose = TRUE, is.plot = FALSE)
|
session.name |
an object of |
sample.type |
a character vector of sample type defined in sample information file: e.g. "Germline" or "Somatic". A value of NULL instructs the function to select all the samples regardless sample types |
bin.size |
numeric value of genomic bin-size for exons |
is.verbose |
logical value indicating if the progress information is printed |
is.plot |
logical value indicating if the coverage summary plot is generated |
This function returns an object of PatCNVData-class
containing per-sample coverage information generated.
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)
#=== print BP-level coverage per sample
sampleCoverage(germline.data)
#=== 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.