View source: R/readLogRatioFile.R
readLogRatioFile | R Documentation |
Read log2 ratio file produced by external tools like The Genome Analysis Toolkit version 4.
readLogRatioFile(file, format, zero = NULL)
file |
Log2 coverage file. |
format |
File format. If missing, derived from the file extension. Currently GATK4 DenoiseReadCounts format supported. A simple GATK3-style format, two columns with coordinates as string in format chr:start-stop in first and log2-ratio in second is also supported. |
zero |
Start position is 0-based. Default is |
A GRange
with the log2 ratio.
Markus Riester
logratio.file <- system.file("extdata", "example_gatk4_denoised_cr.tsv.gz",
package = "PureCN")
logratio <- readLogRatioFile(logratio.file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.