Description Usage Arguments Value Examples
Matched tumor-normal coverage processing & segmentation
1 | TN_WGBS_CNA(stub0, stub1 = NULL, bsgc = NULL, maps = NULL, ...)
|
stub0 |
bigWig stub for normal: paste0(stub0, ".covg.hg19.bw") |
stub1 |
bigWig stub for tumor: paste0(stub1, ".covg.hg19.bw") NULL |
bsgc |
binned c2t GC content (default is bsgc.hg19, 1k bins) NULL |
maps |
binned c2t mappability (default is maps.hg19, 1k bins)NULL |
... |
other parameters passed to WGBSseg |
1 | a GRanges
|
1 2 3 4 5 6 7 8 | stubs <- c("P01-010", "P01-012", "P01-015", "P01-016", "P01-017")
stubs <- c(stubs, "P01-018", "P01-020", "P01-021")
names(stubs) <- paste0(stubs, "-T06-T-P01")
names(stubs)[1] <- "P01-010-T07-T-P01"
segs <- list()
for(i in names(stubs)) segs[[i]] <- TN_WGBS_CNA(stubs[[i]])$segs # robust
segs <- GRangesList(segs) # to feed to grToSeg and get full .seg output
for(i in names(segs)) export(segs[[i]], paste0(i, ".CN.hg19.bw"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.