Back to Multiple platform build/check report for BioC 3.20:   simplified   long
ABCDEFGHIJKLMNOP[Q]RSTUVWXYZ

This page was generated on 2024-10-31 12:11 -0400 (Thu, 31 Oct 2024).

HostnameOSArch (*)R versionInstalled pkgs
teran2Linux (Ubuntu 24.04.1 LTS)x86_644.4.1 (2024-06-14) -- "Race for Your Life" 4503
nebbiolo2Linux (Ubuntu 24.04.1 LTS)x86_644.4.1 (2024-06-14) -- "Race for Your Life" 4763
palomino8Windows Server 2022 Datacenterx644.4.1 (2024-06-14 ucrt) -- "Race for Your Life" 4506
lconwaymacOS 12.7.1 Montereyx86_644.4.1 (2024-06-14) -- "Race for Your Life" 4537
kunpeng2Linux (openEuler 22.03 LTS-SP1)aarch644.4.1 (2024-06-14) -- "Race for Your Life" 4493
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

Package 1626/2289HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
QDNAseq 1.42.0  (landing page)
Daoud Sie
Snapshot Date: 2024-10-30 14:17 -0400 (Wed, 30 Oct 2024)
git_url: https://git.bioconductor.org/packages/QDNAseq
git_branch: RELEASE_3_20
git_last_commit: ef944cd
git_last_commit_date: 2024-10-29 09:50:46 -0400 (Tue, 29 Oct 2024)
teran2Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
nebbiolo2Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  
palomino8Windows Server 2022 Datacenter / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
lconwaymacOS 12.7.1 Monterey / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published
kunpeng2Linux (openEuler 22.03 LTS-SP1) / aarch64  OK    OK    OK  


CHECK results for QDNAseq on palomino8

To the developers/maintainers of the QDNAseq package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/QDNAseq.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: QDNAseq
Version: 1.42.0
Command: F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:QDNAseq.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings QDNAseq_1.42.0.tar.gz
StartedAt: 2024-10-31 05:35:42 -0400 (Thu, 31 Oct 2024)
EndedAt: 2024-10-31 05:43:53 -0400 (Thu, 31 Oct 2024)
EllapsedTime: 490.1 seconds
RetCode: 0
Status:   OK  
CheckDir: QDNAseq.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:QDNAseq.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings QDNAseq_1.42.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'F:/biocbuild/bbs-3.20-bioc/meat/QDNAseq.Rcheck'
* using R version 4.4.1 (2024-06-14 ucrt)
* using platform: x86_64-w64-mingw32
* R was compiled by
    gcc.exe (GCC) 13.2.0
    GNU Fortran (GCC) 13.2.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'QDNAseq/DESCRIPTION' ... OK
* this is package 'QDNAseq' version '1.42.0'
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'QDNAseq' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking contents of 'data' directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking sizes of PDF files under 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                        user system elapsed
callBins               20.84   0.16   21.00
frequencyPlot          20.44   0.07   20.50
segmentBins             8.67   0.08    8.75
normalizeSegmentedBins  7.92   0.09    8.01
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'QDNAseq,copyneutral.R'
  Running 'QDNAseq,gain-copyneutral-gain.R'
  Running 'QDNAseq,parallel-reproducibility.R'
  Running 'QDNAseq.R'
  Running 'binReadCounts.R'
  Running 'poolRuns.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: OK


Installation output

QDNAseq.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD INSTALL QDNAseq
###
##############################################################################
##############################################################################


* installing to library 'F:/biocbuild/bbs-3.20-bioc/R/library'
* installing *source* package 'QDNAseq' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (QDNAseq)

Tests output

QDNAseq.Rcheck/tests/binReadCounts.Rout


R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(QDNAseq)
> 
> if (requireNamespace("QDNAseq.hg19", quietly = TRUE)) {
+   bins <- getBinAnnotations(500, genome = "hg19")
+   print(bins)
+ 
+   bam <- system.file("extdata", "ex1.bam", package = "Rsamtools")
+   print(bam)
+ 
+   counts <- binReadCounts(bins, bamfiles = bam)
+   print(counts)
+ 
+   ## BUG: https://github.com/ccagc/QDNAseq/issues/89
+   counts2 <- binReadCounts(bins, bamfiles = bam, chunkSize = 10e3)
+   print(counts2)
+ }
Loaded bin annotations for genome 'hg19', bin size 500 kbp, and experiment type 'SR50' from annotation package QDNAseq.hg19 v1.35.0
QDNAseq bin annotations for Hsapiens, build hg19.
Created by Ilari Scheinin with QDNAseq 0.7.5, 2014-02-06 09:20:46.041402.
An object of class 'AnnotatedDataFrame'
  rowNames: 1:1-500000 1:500001-1000000 ... Y:59000001-59373566 (6206
    total)
  varLabels: chromosome start ... use (9 total)
  varMetadata: labelDescription
[1] "F:/biocbuild/bbs-3.20-bioc/R/library/Rsamtools/extdata/ex1.bam"
    ex1 (1 of 1): extracting reads ... binning ...
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 6206 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: ex1
  varLabels: name total.reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 1:1-500000 1:500001-1000000 ... Y:59000001-59373566
    (6206 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
    ex1 (1 of 1): extracting reads ...
binning chunk - seq1:1:10001
binning chunk - seq2:1:10001

QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 6206 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: ex1
  varLabels: name total.reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 1:1-500000 1:500001-1000000 ... Y:59000001-59373566
    (6206 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> 
> 
> proc.time()
   user  system elapsed 
   7.64    0.43    8.03 

QDNAseq.Rcheck/tests/poolRuns.Rout


R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(QDNAseq)
> library(Biobase)  ## sampleNames()
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
    tapply, union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

> 
> data(LGG150)
> 
> message("poolRuns(LGG150) ...")
poolRuns(LGG150) ...
> pooledReadCounts <- poolRuns(LGG150, samples = sampleNames(LGG150))
> print(pooledReadCounts)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> message("poolRuns(LGG150) ... done")
poolRuns(LGG150) ... done
> 
> 
> message("Create fake data set with two samples ...")
Create fake data set with two samples ...
> phenodata <- phenoData(LGG150)
> phenodata@data <- rbind(phenodata@data, phenodata@data)
> 
> counts <- assayDataElement(LGG150, "counts")
> counts2 <- cbind(counts, counts)
> colnames(counts2) <- sampleNames(phenodata)
> 
> x <- new("QDNAseqReadCounts", bins = featureData(LGG150), phenodata = phenodata, counts = counts2)
> print(x)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 2 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150 LGG1501
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> message("Create fake data set with two samples ... done")
Create fake data set with two samples ... done
> 
> message("poolRuns(LGG150set) ...")
poolRuns(LGG150set) ...
> x_pool <- poolRuns(x, samples = sampleNames(x))
> print(x_pool)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 2 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150 LGG1501
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> message("poolRuns(LGG150set) - pooled ...")
poolRuns(LGG150set) - pooled ...
> ## BUG #112 (https://github.com/ccagc/QDNAseq/issues/112)
> x_pool <- poolRuns(x, samples = rep("pooled", times = 2L))
> print(x_pool)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: pooled
  varLabels: name reads ... total.reads (5 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> message("poolRuns(LGG150set) ... done")
poolRuns(LGG150set) ... done
> 
> proc.time()
   user  system elapsed 
   5.64    0.46    6.04 

QDNAseq.Rcheck/tests/QDNAseq,copyneutral.Rout


R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(QDNAseq)
> library(Biobase)
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
    tapply, union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

> set.seed(0xBEEF)
> 
> data(LGG150)
> data <- LGG150
> print(data)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> dataF <- applyFilters(data, residual=TRUE, blacklist=TRUE)
38,819	total bins
38,819	of which in selected chromosomes
36,722	of which with reference sequence
33,347	final bins
> print(dataF)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> dataC <- correctBins(dataF)
Calculating correction for GC content and mappability
    Calculating fit for sample LGG150 (1 of 1) ...
Done.
> 
> ## Force all copy neutral data
> cn <- assayDataElement(dataC, "copynumber")
> cn[,1] <- rnorm(nrow(cn), mean = 1.0, sd = 0.05)
> assayDataElement(dataC, "copynumber") <- cn
> 
> print(dataC)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> dataN <- normalizeBins(dataC)
Applying median normalization ...
> print(dataN)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> fit <- segmentBins(dataN)
Performing segmentation:
    Segmenting: LGG150 (1 of 1) ...
> print(fit)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber, segmented 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> fitC <- callBins(fit)
EM algorithm started ... 

[1] "Total number of segments present in the data: 4"
[1] "Number of segments used for fitting the model: 4"
38904908001928207.861.1772016214982310412.4114.4772016210282160412.478.5
Calling iteration1:

optim results
time: 0
minimum: 16682.0890247004
116682.0890247004-0.825303675797091-0.323169506423803-0.001754401929814960.2970863141060160.5078724084702190.9928769615298530.1100346090918040.0003692713871108020.0111811691191362-0.0001065348234756080.1102701734224670.145866377811007
38919958005349207.961.1772016214982310412.4114.4772016210282160412.478.5
Calling iteration2:

optim results
time: 0
minimum: 16682.0888522346
116682.0888522346-0.816384144994661-0.31848916294222-0.00167850977268490.292952991143050.5008064461942260.9819310567480430.1311557982956840.0002223141320088620.01118096583020170.0001872099918784220.1313921659017140.175722206269368
EM algorithm done ...

Computing posterior probabilities for all segments ...

Total time:0minutes

Adjusting segmented data for cellularity ... 

Cellularity sample1: 1

Adjusting normalized data for cellularity ... 

Cellularity sample1: 1

1
3894663822710320862.8772016214982310412.4114.4772016210743480412.482
3894682839384920864.1772016214982310412.4114.4772016210743480412.482
3894679839384320864.1772016214982310412.4114.4772016210743480412.482
3894707866062320866.1772016214982310412.4114.4772016210743480412.482
38951248661557208.166.1772016214982310412.4114.4772016210743480412.482
38951338661561208.166.1772016214982310412.4114.4772016210743480412.482
38951428661565208.166.1772016214982310412.4114.4772016210743480412.482
38951518661569208.166.1772016214982310412.4114.4772016210743480412.482
38951608661573208.166.1772016214982310412.4114.4772016210743480412.482
38951668661576208.166.1772016214982310412.4114.4772016210743480412.482
38951858728306208.166.6772016214982310412.4114.4772016210743480412.482
38956028728686208.166.6772016214982310412.4114.4772016210743480412.482
FINISHED!

Total time:0minutes

There were 24 warnings (use warnings() to see them)
> print(fitC)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: calls, copynumber, probamp, probdloss, probgain, probloss, probnorm, segmented 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> 
> ## Assert that everything is called copy-neutral
> calls <- assayDataElement(fitC, "calls")
> stopifnot(all(is.na(calls) | calls == 0))
> 
> formats <- c("tsv", "igv", "bed", "seg", "vcf")
> types <- c("copynumber", "segments", "calls")
> for (format in formats) {
+   for (type in types) {
+     fileext <- sprintf(".%s.%s", type, format)
+     file <- tempfile(pattern =  "QDNAseq-%s", fileext = fileext)
+     message(sprintf("  - exportBins(<%d samples>, format=\"%s\", type=\"%s\")", ncol(fitC), format, type))
+     file <- exportBins(fitC, format = format, type = type, file = file)
+     message(sprintf("    File(s) written: [n=%d] %s",
+             length(file), paste(sQuote(file), collapse = ", ")))
+     stopifnot(all(file_test("-f", file)))
+     if (format == "seg") {
+       segs <- read.table(file, sep = "\t", header = TRUE)
+       print(segs)
+       stopifnot(nrow(segs) == 0L)
+     } else if (format == "vcf") {
+       rows <- readLines(file)
+       rows <- grep("^#", rows, invert = TRUE, value = TRUE)
+       print(rows)
+       stopifnot(length(rows) == 0L)
+     }
+     file.remove(file)
+     stopifnot(!any(file_test("-f", file)))
+   }
+ }
  - exportBins(<1 samples>, format="tsv", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-%sa0c4602e540a.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-%sa0c4f8e5869.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-%sa0c49931912.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-%sa0c46f105757.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-%sa0c438ae7b55.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-%sa0c41fca4be3.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c41f207303.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c451fb1adc.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c46dc8f88.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c431307432.copynumber.seg'
[1] SAMPLE_NAME     CHROMOSOME      START           STOP           
[5] DATAPOINTS      LOG2_RATIO_MEAN
<0 rows> (or 0-length row.names)
  - exportBins(<1 samples>, format="seg", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c43d2e4e61.segments.seg'
[1] SAMPLE_NAME     CHROMOSOME      START           STOP           
[5] DATAPOINTS      LOG2_RATIO_MEAN
<0 rows> (or 0-length row.names)
  - exportBins(<1 samples>, format="seg", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c42fc263.calls.seg'
[1] SAMPLE_NAME     CHROMOSOME      START           STOP           
[5] DATAPOINTS      LOG2_RATIO_MEAN
<0 rows> (or 0-length row.names)
  - exportBins(<1 samples>, format="vcf", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c45522542e.copynumber.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c42ba0237.segments.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\RtmpIDt49w\QDNAseq-LGG150a0c417a03c09.calls.vcf'
character(0)
> 
> proc.time()
   user  system elapsed 
  25.45    0.76   26.36 

QDNAseq.Rcheck/tests/QDNAseq,gain-copyneutral-gain.Rout


R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(QDNAseq)
> library(Biobase)
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
    tapply, union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

> library(utils)
> set.seed(0xBEEF)
> 
> data(LGG150)
> data <- LGG150
> print(data)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> dataF <- applyFilters(data, residual=TRUE, blacklist=TRUE)
38,819	total bins
38,819	of which in selected chromosomes
36,722	of which with reference sequence
33,347	final bins
> print(dataF)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> dataC <- correctBins(dataF)
Calculating correction for GC content and mappability
    Calculating fit for sample LGG150 (1 of 1) ...
Done.
> 
> ## Force results to have segments gain, copy neutral, and gain.
> cnAll <- assayDataElement(dataC, "copynumber")
> cnAll[,1] <- rnorm(nrow(cnAll), mean = 1.0, sd = 0.05)
> chr7 <- (chromosomes(dataC) == "7")
> cn <- cnAll[chr7, , drop = FALSE]
> n <- nrow(cn)
> idxs <- seq(from=1/3*n - 0.1*n, to=1/3*n + 0.1*n)
> cn[idxs,1] <- rnorm(length(idxs), mean = 2.0, sd = 0.05)
> idxs <- seq(from=2/3*n - 0.1*n, to=2/3*n + 0.1*n)
> cn[idxs,1] <- rnorm(length(idxs), mean = 2.0, sd = 0.05)
> cnAll[chr7, ] <- cn
> assayDataElement(dataC, "copynumber") <- cnAll
> print(dataC)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> dataN <- normalizeBins(dataC)
Applying median normalization ...
> print(dataN)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> fit <- segmentBins(dataN)
Performing segmentation:
    Segmenting: LGG150 (1 of 1) ...
> print(fit)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber, segmented 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> fitC <- callBins(fit)
EM algorithm started ... 

[1] "Total number of segments present in the data: 8"
[1] "Number of segments used for fitting the model: 8"
38908008045507207.861.4772016214999760412.4114.5772016210294279412.478.6
Calling iteration1:

optim results
time: 0
minimum: 16691.936015802
116691.936015802-0.76889026698241-0.310183146024425-0.01185150972096230.2885943760685340.4933553445096880.9879385470392230.0299884700901994-0.0005485736219481460.0111821966975442-4.08995447325668e-050.01000052582656670.0100005260086061
EM algorithm done ...

Computing posterior probabilities for all segments ...

Total time:0minutes

Adjusting segmented data for cellularity ... 

Cellularity sample1: 1

Adjusting normalized data for cellularity ... 

Cellularity sample1: 1

1
38949738270490208.163.1772016214999760412.4114.5772016210787186412.482.3
38949928437236208.164.4772016214999760412.4114.5772016210787186412.482.3
38949898437230208.164.4772016214999760412.4114.5772016210787186412.482.3
38950178705760208.166.5772016214999760412.4114.5772016210787186412.482.3
38954348706694208.166.5772016214999760412.4114.5772016210787186412.482.3
38954438706698208.166.5772016214999760412.4114.5772016210787186412.482.3
38954528706702208.166.5772016214999760412.4114.5772016210787186412.482.3
38954618706706208.166.5772016214999760412.4114.5772016210787186412.482.3
38954708706710208.166.5772016214999760412.4114.5772016210787186412.482.3
38954768706713208.166.5772016214999760412.4114.5772016210787186412.482.3
38954958773443208.167772016214999760412.4114.5772016210787186412.482.3
38959128773823208.167772016214999760412.4114.5772016210787186412.482.3
FINISHED!

Total time:0minutes

There were 32 warnings (use warnings() to see them)
> print(fitC)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: calls, copynumber, probamp, probdloss, probgain, probloss, probnorm, segmented 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> 
> ## Assert that everything is called copy-neutral
> calls <- assayDataElement(fitC, "calls")
> stopifnot(all(is.na(calls) | calls %in% c(0, 2)))
> 
> formats <- c("tsv", "igv", "bed", "seg", "vcf")
> types <- c("copynumber", "segments", "calls")
> for (format in formats) {
+   for (type in types) {
+     fileext <- sprintf(".%s.%s", type, format)
+     file <- tempfile(pattern =  "QDNAseq-%s", fileext = fileext)
+     message(sprintf("  - exportBins(<%d samples>, format=\"%s\", type=\"%s\")", ncol(fitC), format, type))
+     file <- exportBins(fitC, format = format, type = type, file = file)
+     message(sprintf("    File(s) written: [n=%d] %s",
+             length(file), paste(sQuote(file), collapse = ", ")))
+     stopifnot(all(file_test("-f", file)))
+ 
+     if (format == "seg") {
+       segs <- read.table(file, sep = "\t", header = TRUE)
+       print(segs)
+       stopifnot(all(segs$CHROMOSOME == "7"), nrow(segs) == 2L)
+     } else if (format == "vcf") {
+       segs <- read.table(file, sep = "\t", header = FALSE)
+       print(segs)
+       stopifnot(all(segs$V1 == "7"), nrow(segs) == 2L)
+     }
+ 
+     file.remove(file)
+     stopifnot(!any(file_test("-f", file)))
+   }
+ }
  - exportBins(<1 samples>, format="tsv", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-%saa9075942ac2.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-%saa906ec31852.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-%saa901a6139af.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-%saa9046471027.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-%saa9015fb2d8.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-%saa907277b9.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9052f66a13.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa905b3141a6.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9094980b.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9076b56614.copynumber.seg'
                                                                                  SAMPLE_NAME
1 F:\\biocbuild\\bbs-3.20-bioc\\tmpdir\\Rtmpms2Crz\\QDNAseq-LGG150aa9076b56614.copynumber.seg
2 F:\\biocbuild\\bbs-3.20-bioc\\tmpdir\\Rtmpms2Crz\\QDNAseq-LGG150aa9076b56614.copynumber.seg
  CHROMOSOME    START      STOP DATAPOINTS LOG2_RATIO_MEAN
1          7 37110001  68955000       1487            0.99
2          7 90165001 122010000       2012            0.99
  - exportBins(<1 samples>, format="seg", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9031526136.segments.seg'
                                                                                SAMPLE_NAME
1 F:\\biocbuild\\bbs-3.20-bioc\\tmpdir\\Rtmpms2Crz\\QDNAseq-LGG150aa9031526136.segments.seg
2 F:\\biocbuild\\bbs-3.20-bioc\\tmpdir\\Rtmpms2Crz\\QDNAseq-LGG150aa9031526136.segments.seg
  CHROMOSOME    START      STOP DATAPOINTS LOG2_RATIO_MEAN
1          7 37110001  68955000       1487            0.99
2          7 90165001 122010000       2012            0.99
  - exportBins(<1 samples>, format="seg", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9043a11146.calls.seg'
                                                                             SAMPLE_NAME
1 F:\\biocbuild\\bbs-3.20-bioc\\tmpdir\\Rtmpms2Crz\\QDNAseq-LGG150aa9043a11146.calls.seg
2 F:\\biocbuild\\bbs-3.20-bioc\\tmpdir\\Rtmpms2Crz\\QDNAseq-LGG150aa9043a11146.calls.seg
  CHROMOSOME    START      STOP DATAPOINTS LOG2_RATIO_MEAN
1          7 37110001  68955000       1487            0.99
2          7 90165001 122010000       2012            0.99
  - exportBins(<1 samples>, format="vcf", type="copynumber")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa90281a908.copynumber.vcf'
  V1       V2 V3    V4    V5   V6   V7
1  7 37110001  . <DIP> <DUP> 1000 PASS
2  7 90165001  . <DIP> <DUP> 1000 PASS
                                                                      V8 V9 V10
1  SVTYPE=DUP;END=68955000;SVLEN=31845000;BINS=1487;SCORE=2;LOG2CNT=0.99 GT 0/1
2 SVTYPE=DUP;END=122010000;SVLEN=31845000;BINS=2012;SCORE=2;LOG2CNT=0.99 GT 0/1
  - exportBins(<1 samples>, format="vcf", type="segments")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9047eb306d.segments.vcf'
  V1       V2 V3    V4    V5   V6   V7
1  7 37110001  . <DIP> <DUP> 1000 PASS
2  7 90165001  . <DIP> <DUP> 1000 PASS
                                                                      V8 V9 V10
1  SVTYPE=DUP;END=68955000;SVLEN=31845000;BINS=1487;SCORE=2;LOG2CNT=0.99 GT 0/1
2 SVTYPE=DUP;END=122010000;SVLEN=31845000;BINS=2012;SCORE=2;LOG2CNT=0.99 GT 0/1
  - exportBins(<1 samples>, format="vcf", type="calls")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmpms2Crz\QDNAseq-LGG150aa9068db567.calls.vcf'
  V1       V2 V3    V4    V5   V6   V7
1  7 37110001  . <DIP> <DUP> 1000 PASS
2  7 90165001  . <DIP> <DUP> 1000 PASS
                                                                      V8 V9 V10
1  SVTYPE=DUP;END=68955000;SVLEN=31845000;BINS=1487;SCORE=2;LOG2CNT=0.99 GT 0/1
2 SVTYPE=DUP;END=122010000;SVLEN=31845000;BINS=2012;SCORE=2;LOG2CNT=0.99 GT 0/1
> 
> proc.time()
   user  system elapsed 
  25.20    0.65   26.03 

QDNAseq.Rcheck/tests/QDNAseq,parallel-reproducibility.Rout


R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> ######################################################################
> # This scripts asserts that for each processing step of QDNAseq
> # the output/results are reproducible (numerically equal).
> ######################################################################
> library("QDNAseq")
> options("QDNAseq::verbose"=FALSE)
> 
> # Load data
> data(LGG150)
> data <- LGG150
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # TRUTH
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Filter out "bad" bins
> dataF <- applyFilters(data, residual=TRUE, blacklist=TRUE)
> 
> # Correct read counts as a function of GC content and mappability
> dataC <- correctBins(dataF)
> 
> # Normalize binned read counts to have diploid normal copy number
> dataN <- normalizeBins(dataC)
> 
> # Segment copy numbers
> set.seed(42)  ## segmentBins() relies on RNG via DNAcopy::segment()
> fit <- segmentBins(dataN)
> 
> # Call copy-number segments
> fitC <- callBins(fit)
There were 50 or more warnings (use warnings() to see the first 50)
> 
> 
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # REPRODUCIBILITY
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> strategies <- c("sequential", "multisession")
> if (parallelly::supportsMulticore()) strategies <- c(strategies, "multicore")
> 
> oplan <- future::plan("list")
> for (strategy in strategies) {
+   message(sprintf("Reproducibility with plan(\"%s\") ...", strategy))
+   
+   future::plan(strategy)
+   
+   dataFr <- applyFilters(data, residual=TRUE, blacklist=TRUE)
+   stopifnot(all.equal(dataFr, dataF))
+   
+   dataCr <- correctBins(dataF)
+   stopifnot(all.equal(dataCr, dataC))
+   
+   dataNr <- normalizeBins(dataC)
+   stopifnot(all.equal(dataNr, dataN))
+   
+   set.seed(42)  ## segmentBins() relies on RNG via DNAcopy::segment()
+   fitr <- segmentBins(dataNr)
+   stopifnot(all.equal(fitr, fit))
+   
+   fitCr <- callBins(fitr)
+   stopifnot(all.equal(fitCr, fitC))
+   
+   message(sprintf("Reproducibility with plan(\"%s\") ... done", strategy))
+ }
Reproducibility with plan("sequential") ...
Reproducibility with plan("sequential") ... done
Reproducibility with plan("multisession") ...
    Calculating fit for sample LGG150 (1 of 1) ...
    Segmenting: LGG150 (1 of 1) ...
Reproducibility with plan("multisession") ... done
There were 50 or more warnings (use warnings() to see the first 50)
> 
> future::plan(oplan)
> 
> proc.time()
   user  system elapsed 
  56.64    0.75   67.89 

QDNAseq.Rcheck/tests/QDNAseq.Rout


R version 4.4.1 (2024-06-14 ucrt) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(QDNAseq)
> library(Biobase) ## combine(), sampleNames()
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
    tapply, union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

> library(utils)
> 
> do_plot <- TRUE
> do_cleanup <- TRUE
> 
> # Load data
> data(LGG150)
> data <- LGG150
> print(data)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> stopifnot(inherits(data, "QDNAseqReadCounts"))
> 
> # Plot isobars of read counts
> if (do_plot) isobarPlot(data)
Plotting sample LGG150 median read counts
> 
> # Plot copy number profile
> if (do_plot) {
+   plot(data, ylim=c(-100, 200))
+   highlightFilters(data, residual=TRUE, blacklist=TRUE)
+ }
Plotting sample LGG150 (1 of 1) ...
Highlighted 3,375 bins.
> 
> # Filter out "bad" bins
> dataF <- applyFilters(data, residual=TRUE, blacklist=TRUE)
38,819	total bins
38,819	of which in selected chromosomes
36,722	of which with reference sequence
33,347	final bins
> print(dataF)
QDNAseqReadCounts (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: counts 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads used.reads expected.variance
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> if (do_plot) plot(dataF, ylim=c(-100, 200))
Plotting sample LGG150 (1 of 1) ...
> stopifnot(inherits(dataF, "QDNAseqReadCounts"))
> 
> # Correct read counts as a function of GC content and mappability
> dataC <- correctBins(dataF)
Calculating correction for GC content and mappability
    Calculating fit for sample LGG150 (1 of 1) ...
Done.
> print(dataC)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> if (do_plot) plot(dataC, ylim=c(-100, 200))
Plotting sample LGG150 (1 of 1) ...
> stopifnot(inherits(dataC, "QDNAseqCopyNumbers"))
> 
> # Normalize binned read counts to have diploid normal copy number
> dataN <- normalizeBins(dataC)
Applying median normalization ...
> print(dataN)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> if (do_plot) plot(dataN)
Plotting sample LGG150 (1 of 1) ...
> stopifnot(inherits(dataN, "QDNAseqCopyNumbers"))
> 
> # Plot noise
> if (do_plot) noisePlot(dataF)
Calculating correction for GC content and mappability
    Calculating fit for sample LGG150 (1 of 1) ...
Done.
> 
> # Segment copy numbers
> fit <- segmentBins(dataN)
Performing segmentation:
    Segmenting: LGG150 (1 of 1) ...
> print(fit)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: copynumber, segmented 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> if (do_plot) plot(fit)
Plotting sample LGG150 (1 of 1) ...
> stopifnot(inherits(fit, "QDNAseqCopyNumbers"))
> 
> # Call copy-number segments
> fitC <- callBins(fit)
EM algorithm started ... 

[1] "Total number of segments present in the data: 10"
[1] "Number of segments used for fitting the model: 9"
39049078008827208.661.2771915415020463412.3114.6771915412450386412.395
Calling iteration1:

optim results
time: 0
minimum: 16445.6418287481
116443.1634295677-0.939948404909664-0.5351158716347120.04999922851584940.1357341814220170.2320391157632851.492692224927890.46336036623653-0.0007447487965535120.0111894143724591-0.000962583906213420.3145629342085070.798554843389167
39064128012278208.761.2771915415020463412.3114.6771915412450386412.395
Calling iteration2:

optim results
time: 0
minimum: 16445.5781374328
116443.1331012469-0.932876677515083-0.535943303880990.0499979048415910.1114729434735370.1905642555481931.861013902305770.4314700360573740.0001440687684080910.01118427659401560.0007568920162792620.2061088124299370.874022351578009
39064118012277208.761.2771915415020463412.3114.6771915412450386412.395
Calling iteration3:

optim results
time: 0
minimum: 16445.5975371627
116443.1273697069-0.924012853099601-0.5365177469718870.04999923288882760.108573194240180.1856071014916831.753751992204390.4694950401327692.93313204145295e-050.0111878614439676-0.0001759851682342870.07360543573369820.943675664015282
EM algorithm done ...

Computing posterior probabilities for all segments ...

Total time:0minutes

Adjusting segmented data for cellularity ... 

Cellularity sample1: 1

Adjusting normalized data for cellularity ... 

Cellularity sample1: 1

1
39090808233512208.862.9771915415020463412.3114.6771915412450386412.395
39090998400258208.864.1771915415020463412.3114.6771915412450386412.395
39090968400252208.864.1771915415020463412.3114.6771915412450386412.395
39091248667267208.866.2771915415020463412.3114.6771915412450386412.395
39095418668201208.866.2771915415020463412.3114.6771915412450386412.395
39095508668205208.866.2771915415020463412.3114.6771915412450386412.395
39095598668209208.866.2771915415020463412.3114.6771915412450386412.395
39095688668213208.866.2771915415020463412.3114.6771915412450386412.395
39095778668217208.866.2771915415020463412.3114.6771915412450386412.395
39095838668220208.866.2771915415020463412.3114.6771915412450386412.395
39096028734950208.866.7771915415020463412.3114.6771915412450386412.395
39100198735330208.966.7771915415020463412.3114.6771915412450386412.395
FINISHED!

Total time:0minutes

There were 50 or more warnings (use warnings() to see the first 50)
> print(fitC)
QDNAseqCopyNumbers (storageMode: lockedEnvironment)
assayData: 38819 features, 1 samples 
  element names: calls, copynumber, probamp, probdloss, probgain, probloss, probnorm, segmented 
protocolData: none
phenoData
  sampleNames: LGG150
  varLabels: name reads ... loess.family (6 total)
  varMetadata: labelDescription
featureData
  featureNames: 7:1-15000 7:15001-30000 ... 10:135525001-135534747
    (38819 total)
  fvarLabels: chromosome start ... use (9 total)
  fvarMetadata: labelDescription
experimentData: use 'experimentData(object)'
Annotation:  
> if (do_plot) plot(fitC)
Plotting sample LGG150 (1 of 1) ...
> 
> 
> # ---------------------------------------------------------------
> # Exporting
> # ---------------------------------------------------------------
> message("* exportBins() ...")
* exportBins() ...
> 
> sets <- list(data = data, dataC = dataC, fit = fit, fitC = fitC)
> for (name in names(sets)) {
+   set <- sets[[name]]
+   formats <- c("tsv", "igv", "bed")
+   if (name == "fitC") formats <- c(formats, "vcf", "seg")
+   for (format in formats) {
+     types <- c("copynumber")
+     if (name %in% c("fit", "fitC")) types <- c(types, "segments")
+     if (name == "fitC") types <- c(types, "calls")
+     for (type in types) {
+       fileext <- sprintf(".%s.%s", type, format)
+       templates <- c("QDNAseq-%s.", "QDNAseq-%i.", "QDNAseq-%03i.")
+       if (ncol(set) == 1L || !(format %in% c("bed", "seg", "vcf"))) {
+         templates <- c("QDNAseq.", templates)
+       }
+       for (template in templates) {
+         file <- tempfile(pattern = template, fileext = fileext)
+         message(sprintf("  - exportBins(<%d samples>, format=\"%s\", type=\"%s\", file=\"%s\")", ncol(set), format, type, template))
+         file <- exportBins(set, file = file, format = format, type = type)
+         message(sprintf("    File(s) written: [n=%d] %s",
+                 length(file), paste(sQuote(file), collapse = ", ")))
+         stopifnot(all(file_test("-f", file)))
+         if (do_cleanup) {
+ 	  file.remove(file)
+           stopifnot(!any(file_test("-f", file)))
+ 	}
+       }
+     }
+   }
+ }
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c7ec7018.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c1c5b7eae.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c220f19ca.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192ca317aa7.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c4af7df.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c6cb698b.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c6171603e.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c1b84411c.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192ceca5c54.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c3a274eca.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c423e60b6.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c3401227a.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192cb3108.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c273a1687.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c5ca8611d.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c56651906.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c2a68685f.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c1e551a4f.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c44834472.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c7e3244b9.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c747e7f14.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c65cd61a4.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c53ca2b48.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c3e31fbd.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c38f36db3.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c607b2e7d.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c51a6446.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c6eeb22f3.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c65a5311d.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c443a59c4.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c5e352ca7.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c6d2e2a70.segments.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c2ed8308.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c606d7fd6.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c6a8140bb.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c688f69fb.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c51b5127c.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c74767d07.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c45863c65.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c41e22190.segments.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c66c5c57.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c16403a1b.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c35744b9b.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c79c341e0.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c447a73c9.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c28b648ce.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c559a2ae9.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c2f1170cf.segments.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c71a64ad9.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c624a504d.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c50f077ef.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c2d6d5df5.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c2802ade.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c636f49bb.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c2c8f51de.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192cbc0671e.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c66a96d07.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c5d1fcad.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c223349fe.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c5ab2cca.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c149a2d4.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c47562bae.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192cac0242b.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c633436ad.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c33391e9b.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c279520bb.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c58ba6754.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c74f74830.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c20cec04.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c675f49c8.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c22cb3dfb.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c44f24ee.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c6b05188d.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c3abf353a.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c3e4126b7.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c5be04538.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c316d6c06.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c16c13e6b.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c698e74b5.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c14bf7a91.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c17f93115.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c37f57a29.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c6c62032.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c2b52433.calls.bed'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c4982db4.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c38ef7337.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c66246703.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c5aa05388.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192ca426baf.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c38ca36ca.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c20853d0e.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192cb7460b2.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c5a5b1127.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c11a0310d.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c1ebcce.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c12db6f04.calls.vcf'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c284e911.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c1f13599e.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c3fc47d3.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192ca92186.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c13845bb7.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c14c7300f.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c58814740.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c7df45f75.segments.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c3ec91736.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150.2192c64e5866.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c3e77c4b.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c3b968c0.calls.seg'
> 
> sets <- list(data = data, dataC = dataC, fit = fit, fitC = fitC)
> sets <- lapply(sets, FUN = function(set) {
+   stopifnot(ncol(set) == 1L)
+   name <- sampleNames(set)
+   setA <- set
+   sampleNames(setA) <- sprintf("%sa", name)
+   setB <- set
+   sampleNames(setB) <- sprintf("%sb", name)
+   combine(setA, setB)
+ })
> 
> for (name in names(sets)) {
+   set <- sets[[name]]
+   stopifnot(ncol(set) == 2L)
+   formats <- c("tsv", "igv", "bed")
+   if (name == "fitC") formats <- c(formats, "vcf", "seg")
+   for (format in formats) {
+     types <- c("copynumber")
+     if (name %in% c("fit", "fitC")) types <- c(types, "segments")
+     if (name == "fitC") types <- c(types, "calls")
+     for (type in types) {
+       fileext <- sprintf(".%s.%s", type, format)
+       templates <- c("QDNAseq-%s.", "QDNAseq-%i.", "QDNAseq-%03i.")
+       if (ncol(set) == 1L || !(format %in% c("bed", "seg", "vcf"))) {
+         templates <- c("QDNAseq.", templates)
+       }
+       for (template in templates) {
+         file <- tempfile(pattern = template, fileext = fileext)
+         message(sprintf("  - exportBins(<%d samples>, format=\"%s\", type=\"%s\", file=\"%s\")", ncol(set), format, type, template))
+         file <- exportBins(set, file = file, format = format, type = type)
+         message(sprintf("    File(s) written: [n=%d] %s",
+                 length(file), paste(sQuote(file), collapse = ", ")))
+         stopifnot(all(file_test("-f", file)))
+         if (do_cleanup) {
+           file.remove(file)
+           stopifnot(!any(file_test("-f", file)))
+ 	}  
+       }
+     }
+   }
+ }
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c32cc27fe.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c369a279d.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c7c170c0.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c70b07a8d.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c50a0155.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c6c963022.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c1d44177e.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c692263b2.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c543e15d5.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c543e15d5.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c3b8e5e58.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c3b8e5e58.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c7fc96cf8.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c7fc96cf8.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c2414693c.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c67011fe9.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c50ba1514.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c474f67b5.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c2701aeb.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c42283a54.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c8583a21.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c52f738d1.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c56537b4.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c56537b4.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c615748ab.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c615748ab.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c342762bd.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c342762bd.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c43865c7a.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c1ce5423e.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c45162fd5.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c71ed501a.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c5e67a74.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c6286565.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c45515e92.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c11f13bde.segments.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c6da51695.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c3a2728ba.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c73d725f1.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192cd8174a4.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c5f75114a.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c6c227501.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192cedb61d9.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192cd6e4a78.segments.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192cbaa7810.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192cbaa7810.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c181b68b2.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c181b68b2.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c3767181.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c3767181.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c8b4b5e.segments.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c8b4b5e.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c38bf25fc.segments.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c38bf25fc.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c21597c79.segments.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c21597c79.segments.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c237ff7.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c42324fcc.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c1dd13433.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192ce677b6.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c17411c9d.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c50be572b.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c4d233a73.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c41134fd.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c719523a7.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c1412345a.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c2e985f88.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c1aec3697.calls.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c10c5769f.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c3411a2b.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192ca3c39d7.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c36ceaff.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c21de4e2.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c7f2417e5.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c22bc7fd7.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c38d3165.segments.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq.2192c5fce2420.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%s.2192c60b755c0.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%i.2192c5fe9893.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-%03i.2192c70572e2f.calls.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c5eb38df.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c5eb38df.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c67bc616c.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c67bc616c.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c9391c2a.copynumber.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c9391c2a.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c297f3f73.segments.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c297f3f73.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c526b2ef8.segments.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c526b2ef8.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c5d263a8a.segments.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c5d263a8a.segments.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c1045144f.calls.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c1045144f.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c4bb1217f.calls.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c4bb1217f.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c18e94219.calls.bed', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c18e94219.calls.bed'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c6a6f4f31.copynumber.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c6a6f4f31.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c6b4c4cc9.copynumber.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c6b4c4cc9.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c8167351.copynumber.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c8167351.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c64e71641.segments.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c64e71641.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c5013586a.segments.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c5013586a.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c7faf63f3.segments.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c7faf63f3.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c181f4b1f.calls.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c181f4b1f.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c2c462047.calls.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c2c462047.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c2c136b5.calls.vcf', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c2c136b5.calls.vcf'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c1c734b3d.copynumber.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c1c734b3d.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192cbfd4ad1.copynumber.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192cbfd4ad1.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c11d05e54.copynumber.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c11d05e54.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c50737e82.segments.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c50737e82.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c4c227aa.segments.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c4c227aa.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192c2927481.segments.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192c2927481.segments.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150a.2192c37ae6064.calls.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-LGG150b.2192c37ae6064.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-1.2192c29bc24b8.calls.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-2.2192c29bc24b8.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-001.2192ca6a250.calls.seg', 'F:\biocbuild\bbs-3.20-bioc\tmpdir\Rtmp8gXDAw\QDNAseq-002.2192ca6a250.calls.seg'
> 
> message("* exportBins() ... done")
* exportBins() ... done
> 
> proc.time()
   user  system elapsed 
 127.96    3.57  135.56 

Example timings

QDNAseq.Rcheck/QDNAseq-Ex.timings

nameusersystemelapsed
addPhenodata0.080.050.13
applyFilters0.380.010.39
binReadCounts000
callBins20.84 0.1621.00
compareToReference2.400.002.39
correctBins1.930.011.95
createBins000
estimateCorrection2.330.032.36
exportBins000
frequencyPlot20.44 0.0720.50
getBinAnnotations000
highlightFilters0.900.060.97
isobarPlot1.330.001.33
makeCgh2.720.062.78
noisePlot2.200.032.23
normalizeBins2.240.072.30
normalizeSegmentedBins7.920.098.01
plot2.470.082.55
poolRuns0.180.000.18
segmentBins8.670.088.75
smoothOutlierBins2.190.032.22