Description Usage Arguments Details Author(s) See Also Examples
This function is used to learn patterns from normal/reference samples
1 2 | learnPatterns(session.name, refdata.name, sample.type = NULL,
episl = 1, bin.size = 10, excluded.sample.name = NULL)
|
session.name |
an object of |
refdata.name |
an object of |
sample.type |
a character vector of sample type defined in sample information file: e.g. "Germline". A value of NULL instructs the function to select all the samples regardless sample types |
episl |
a small value adding to coverage to avoid doing log-transform on zero |
bin.size |
numeric value of exon-level bin-size |
excluded.sample.name |
a character vector containing sample names that are excluded for pattern training |
Average- and variability- pattern WIG files are expected to be generated under txt_output_DIF defined in configuration file, along with two other baseline coverage files.
Chen Wang
scanMultiCovg
; computeMultiCNV
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#=== load a simulation example
config.filename <- "sim1.ini"
makeSimulation(config.filename)
sim.session <- createSession(config.filename)
#=== print session information
summary(sim.session)
#=== scan coverages of multiple samples
germline.data <- scanMultiCovg(session.name=sim.session)
#=== learn average- and variability-patterns
learnPatterns(session.name=sim.session,refdata.name=germline.data)
#=== print session information; notice that pattern files have been generated
summary(sim.session)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.