Description Usage Arguments Value Author(s) References See Also Examples
Read depth ratio is defined as read depth at each site divided by median of read depth of that sequencing library. SomatiCA corrects GC bias for read depth ratio at each site based on a linear model described in Diskin et al.(2008).
1 | GCbiasRemoval(input, GCcontent)
|
input |
A GRanges object. Same as the output of SomatiCAFormat(). |
GCcontent |
A data frame object with 4 column."chr", "interval1", "interval2" and "GC". |
A GRanges object.
zygosity, tCount, LAF, tCountN, germLAF |
Same as the outout SomatiCAFormat() |
tRcorrected |
GC bias corrected read depth ratio for tumor sample. |
nRcorrected |
GC bias corrected read depth ratio for normal sample. |
Mengjie Chen
Diskin et al. Adjustment of genomic waves in signal intensities from whole-genome SNP genotyping platforms. Nucleic Acids Research, 36(19):e126, 2008.
See Also segmentGCbiasRemoval
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | rawLAF <- c(rnorm(300, 0.2, 0.05), rnorm(300, 0.4, 0.05), rnorm(200, 0.3, 0.05), rnorm(200, 0.2, 0.05), rnorm(200, 0.3, 0.05), rnorm(250, 0.4, 0.05))
germLAF <- c(rnorm(800+650, 0.4, 0.05))
reads1 <- c(rpois(300, 25), rpois(300, 50), rpois(200, 60), rpois(200, 25), rpois(200, 40), rpois(250, 50))
reads2 <- rpois(800+650, 50)
chr <- c(rep("chr1", 800), rep("chr2", 650))
position <- c(seq(1, 1600000, by=2000), seq(1, 1300000, by=2000))
zygo <- rep("het", 800+650)
data <- GRanges(seqnames=chr,
ranges=IRanges(start=position, width=1),
zygosity=zygo,
tCount=reads1,
LAF=rawLAF,
tCountN=reads2,
germLAF=germLAF)
data(GCcontent)
x <- GCbiasRemoval(data, GCcontent)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.