Description Usage Arguments Value Author(s) Examples
View source: R/calculateLogRatio.R
This function is automatically called by runAbsoluteCN
when
normal and tumor coverage are provided (and not a segmentation file or
target-level log-ratios). This function is therefore normally not called by
the user.
1 | calculateLogRatio(normal, tumor)
|
normal |
Normal coverage read in by the |
tumor |
Tumor coverage read in by the |
numeric(length(tumor))
, tumor vs. normal copy number log-ratios
for all targets.
Markus Riester
1 2 3 4 5 6 7 | normal.coverage.file <- system.file("extdata", "example_normal.txt",
package="PureCN")
tumor.coverage.file <- system.file("extdata", "example_tumor.txt",
package="PureCN")
normal <- readCoverageFile(normal.coverage.file)
tumor <- readCoverageFile(tumor.coverage.file)
log.ratio <- calculateLogRatio(normal, tumor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.