Back to Multiple platform build/check report for BioC 3.14
ABCDEFGHIJKLMNOP[Q]RSTUVWXYZ

This page was generated on 2022-04-13 12:07:09 -0400 (Wed, 13 Apr 2022).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 20.04.4 LTS)x86_644.1.3 (2022-03-10) -- "One Push-Up" 4324
tokay2Windows Server 2012 R2 Standardx644.1.3 (2022-03-10) -- "One Push-Up" 4077
machv2macOS 10.14.6 Mojavex86_644.1.3 (2022-03-10) -- "One Push-Up" 4137
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

CHECK results for QDNAseq on tokay2


To the developers/maintainers of the QDNAseq package:
- Please 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 How and When does the builder pull? When will my changes propagate? for more information.
- Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 1496/2083HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
QDNAseq 1.30.0  (landing page)
Daoud Sie
Snapshot Date: 2022-04-12 01:55:07 -0400 (Tue, 12 Apr 2022)
git_url: https://git.bioconductor.org/packages/QDNAseq
git_branch: RELEASE_3_14
git_last_commit: cd4ceaa
git_last_commit_date: 2021-10-27 16:34:47 -0400 (Wed, 27 Oct 2021)
nebbiolo2Linux (Ubuntu 20.04.4 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
tokay2Windows Server 2012 R2 Standard / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
machv2macOS 10.14.6 Mojave / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published

Summary

Package: QDNAseq
Version: 1.30.0
Command: C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:QDNAseq.install-out.txt --library=C:\Users\biocbuild\bbs-3.14-bioc\R\library --no-vignettes --timings QDNAseq_1.30.0.tar.gz
StartedAt: 2022-04-13 01:03:39 -0400 (Wed, 13 Apr 2022)
EndedAt: 2022-04-13 01:17:59 -0400 (Wed, 13 Apr 2022)
EllapsedTime: 859.7 seconds
RetCode: 0
Status:   OK  
CheckDir: QDNAseq.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:QDNAseq.install-out.txt --library=C:\Users\biocbuild\bbs-3.14-bioc\R\library --no-vignettes --timings QDNAseq_1.30.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.14-bioc/meat/QDNAseq.Rcheck'
* using R version 4.1.3 (2022-03-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'QDNAseq/DESCRIPTION' ... OK
* this is package 'QDNAseq' version '1.30.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 R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** 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
* loading checks for arch 'x64'
** 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 files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
Examples with CPU (user + system) or elapsed time > 5s
                        user system elapsed
frequencyPlot          24.31   0.03   24.34
callBins               24.02   0.21   24.23
normalizeSegmentedBins 15.22   0.00   15.22
segmentBins            15.10   0.00   15.09
** running examples for arch 'x64' ... OK
Examples with CPU (user + system) or elapsed time > 5s
                        user system elapsed
callBins               19.80   0.17   19.97
frequencyPlot          19.41   0.06   19.47
normalizeSegmentedBins  8.41   0.00    8.40
segmentBins             7.97   0.00    7.97
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'QDNAseq,copyneutral.R'
  Running 'QDNAseq,gain-copyneutral-gain.R'
  Running 'QDNAseq,parallel-reproducibility.R'
  Running 'QDNAseq.R'
  Running 'binReadCounts.R'
 OK
** running tests for arch 'x64' ...
  Running 'QDNAseq,copyneutral.R'
  Running 'QDNAseq,gain-copyneutral-gain.R'
  Running 'QDNAseq,parallel-reproducibility.R'
  Running 'QDNAseq.R'
  Running 'binReadCounts.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... 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:
###
###   C:\cygwin\bin\curl.exe -O http://155.52.207.166/BBS/3.14/bioc/src/contrib/QDNAseq_1.30.0.tar.gz && rm -rf QDNAseq.buildbin-libdir && mkdir QDNAseq.buildbin-libdir && C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=QDNAseq.buildbin-libdir QDNAseq_1.30.0.tar.gz && C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD INSTALL QDNAseq_1.30.0.zip && rm QDNAseq_1.30.0.tar.gz QDNAseq_1.30.0.zip
###
##############################################################################
##############################################################################


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  585k  100  585k    0     0  1411k      0 --:--:-- --:--:-- --:--:-- 1413k

install for i386

* installing *source* package 'QDNAseq' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'QDNAseq'
    finding HTML links ... done
    LGG150                                  html  
    QDNAseq-defunct                         html  
    QDNAseq-package                         html  
    QDNAseqCopyNumbers                      html  
    QDNAseqReadCounts                       html  
    QDNAseqSignals                          html  
    addPhenodata                            html  
    applyFilters                            html  
    binReadCounts                           html  
    callBins                                html  
    compareToReference                      html  
    correctBins                             html  
    createBins                              html  
    estimateCorrection                      html  
    exportBins                              html  
    finding level-2 HTML links ... done

    frequencyPlot                           html  
    getBinAnnotations                       html  
    highlightFilters                        html  
    isobarPlot                              html  
    makeCgh                                 html  
    noisePlot                               html  
    normalizeBins                           html  
    normalizeSegmentedBins                  html  
    plot                                    html  
    poolRuns                                html  
    segmentBins                             html  
    smoothOutlierBins                       html  
** 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

install for x64

* installing *source* package 'QDNAseq' ...
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'QDNAseq' as QDNAseq_1.30.0.zip
* DONE (QDNAseq)
* installing to library 'C:/Users/biocbuild/bbs-3.14-bioc/R/library'
package 'QDNAseq' successfully unpacked and MD5 sums checked

Tests output

QDNAseq.Rcheck/tests_i386/binReadCounts.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

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.24.0
QDNAseq bin annotations for Hsapiens, build hg19.
Created by Ilari Scheinin with QDNAseq 0.7.5, 2014-02-06 09:20:46.
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] "C:/Users/biocbuild/bbs-3.14-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 
   6.01    0.39    6.43 

QDNAseq.Rcheck/tests_x64/binReadCounts.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

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.24.0
QDNAseq bin annotations for Hsapiens, build hg19.
Created by Ilari Scheinin with QDNAseq 0.7.5, 2014-02-06 09:20:46.
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] "C:/Users/biocbuild/bbs-3.14-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 
   9.06    0.34   11.42 

QDNAseq.Rcheck/tests_i386/QDNAseq.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

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, 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, setdiff, sort, 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)
> 
> # 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
> isobarPlot(data)
Plotting sample LGG150 median read counts
> 
> # Plot copy number profile
> plot(data, ylim=c(-100, 200))
Plotting sample LGG150 (1 of 1) ...
> highlightFilters(data, residual=TRUE, blacklist=TRUE)
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:  
> 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:  
> 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:  
> plot(dataN)
Plotting sample LGG150 (1 of 1) ...
> stopifnot(inherits(dataN, "QDNAseqCopyNumbers"))
> 
> # Plot noise
> 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:  
> 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"
39066975515645119.342.1801238012255594244.693.6801238010146328244.677.5
Calling iteration1:

optim results
time: 0
minimum: 16445.6418287481
116443.1634295677-0.939948404909672-0.5351158716347190.04999922851584940.1357341814220170.2320391157632851.492692224927890.46336036623653-0.000744748796554230.0111894143724591-0.000962583906213420.3145629342085070.798554843389167
39082025517992119.342.1801238012255594244.693.6801238010146328244.677.5
Calling iteration2:

optim results
time: 0
minimum: 16445.5781374328
116443.1331012469-0.932876677515091-0.5359433038809970.0499979048415910.1114729434735370.1905642555481931.861013902305770.4314700360573740.0001440687684073730.01118427659401560.0007568920162792620.2061088124299370.874022351578009
39082025517992119.342.1801238012255594244.693.6801238010146328244.677.5
Calling iteration3:

optim results
time: 0
minimum: 16445.5975371627
116443.1273697069-0.924012853099608-0.5365177469718940.04999923288882760.108573194240180.1856071014916831.753751992204390.4694950401327692.93313204138107e-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
39108705720821119.443.7801238012255594244.693.6801238010146328244.677.5
39108895887565119.445801238012255594244.693.6801238010146328244.677.5
39108865887561119.445801238012255594244.693.6801238010146328244.677.5
39109146154576119.447801238012255594244.693.6801238010146328244.677.5
39113416155214119.447801238012255594244.693.6801238010146328244.677.5
39113506155217119.447801238012255594244.693.6801238010146328244.677.5
39113596155220119.447801238012255594244.693.6801238010146328244.677.5
39113686155223119.447801238012255594244.693.6801238010146328244.677.5
39113776155226119.447801238012255594244.693.6801238010146328244.677.5
39113836155228119.447801238012255594244.693.6801238010146328244.677.5
39114026221942119.447.5801238012255594244.693.6801238010146328244.677.5
39118196222179119.447.5801238012255594244.693.6801238010146328244.677.5
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:  
> 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)))
+         file.remove(file)
+         stopifnot(!any(file_test("-f", file)))
+       }
+     }
+   }
+ }
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac011473b87.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac093577b.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0352f36f1.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac05ec7391.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac09ce5508.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac05406574e.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac03f2c7423.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0206a5166.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac08864334.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac0523d57f0.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac030a415a8.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac025957b6a.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac048672e8e.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac047853afe.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac023a246fc.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac059945e03.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0182a53ae.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac0496e6c7.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac033314df1.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac050da628c.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac058cf3bf.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac031ec1ad0.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac01e2332c.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac037c6bd2.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0c187501.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac021d7451.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0504a3aa6.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac017b31297.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0730c6345.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac0136922b6.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac023822c2c.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac03c5e3212.segments.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03c7573.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac07cc21c1f.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac07ba56bdf.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0137e446c.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac043613507.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac026721e1.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac01a5662b5.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac02cb8f45.segments.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac05da5308f.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac039bf502.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0593836f7.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac0fd6202d.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03a554a2f.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac07b951ac1.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0107354c1.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac05746192b.segments.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0504d311e.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac04699710c.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0d364685.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac05a9a4d3a.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac05cac6d26.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac031df5308.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0182f5d88.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac069062cc7.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac071542f28.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac06f5f1d8c.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0c152a63.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac013e5234.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0136b7195.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac05e7363a6.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac07c1f4583.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac09347e58.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac069dc68f6.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac02e5c6315.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac06a8a67a9.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac07e1514fd.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac07bd74465.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac010bc48cd.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0f16526b.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0294e2960.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac07f4d3e12.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac07c1d4576.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac02d898b1.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac04dc8ab5.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac037757bbf.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac07e6971ed.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac07c2b5739.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac0551040a0.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0634a3f44.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac01f713c2.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac01a492d14.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac079d927bd.calls.bed'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03c0b670c.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac0536751b8.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac016b34427.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac02785e19.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03b93e96.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac07d632848.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac063e19ab.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac0b677fb6.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0239c1ef5.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac01e16e1f.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac02a4236ad.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac061c2330c.calls.vcf'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac05abf5f50.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac06941189b.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0271c488e.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac06dcd582.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac07c6f1563.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac012467052.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac04aad984.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac02d6c17f9.segments.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03ec025fc.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150.3ac07498258b.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac062d97917.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac03eaa1b42.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)))
+         file.remove(file)
+         stopifnot(!any(file_test("-f", file)))
+       }
+     }
+   }
+ }
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac01908257f.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac0734234c3.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0240a64a5.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac07a331ca2.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03262862.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac03f341b29.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac01fab3fdf.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac01dd92255.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac0602c23b2.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac0602c23b2.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac049c25b22.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac049c25b22.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac04aad4d49.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac04aad4d49.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac07131808.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac034897d8c.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0472350c6.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0140516be.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac07d79b5e.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac01ce06da4.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac040f45661.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0b2b35ea.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac0d49386c.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac0d49386c.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0105bdc2.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac0105bdc2.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac038b338f3.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac038b338f3.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac0169d6cce.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac071e5663d.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac04e697a40.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac05a447cb0.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03a5ae40.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac01053134f.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac02d3d628e.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac03e6e7181.segments.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac06e683668.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac01bc7214.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0784d69ae.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac03d5f1781.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac054e5344.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac02ded3572.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac05ed356b8.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac051245381.segments.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac0229a7d24.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac0229a7d24.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac075d92d43.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac075d92d43.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac0724f1556.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac0724f1556.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac08327385.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac08327385.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0415d1f2f.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac0415d1f2f.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac06e1532d5.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac06e1532d5.segments.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03503649.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac07e0345.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac04aaa6fdc.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0295b656b.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac038761fe3.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac01eeb70ac.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac03c1b397a.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0130836bb.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac04bf25e8b.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac067f05c.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac05e4c72a9.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0599d476e.calls.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac03b0653c.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac07bf51228.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac0b5d26df.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0694213a3.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac01c042e06.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac034e13598.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac05742ee4.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac0763e6f6c.segments.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq.3ac02e842a8c.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%s.3ac00e69.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%i.3ac05d393956.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-%03i.3ac01780534f.calls.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac049df3484.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac049df3484.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0408090b.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac0408090b.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac068582325.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac068582325.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac0711a78c6.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac0711a78c6.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac05bb56e3a.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac05bb56e3a.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac041f65f21.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac041f65f21.segments.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac048032018.calls.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac048032018.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac06ec046bf.calls.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac06ec046bf.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac07667330d.calls.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac07667330d.calls.bed'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac03ad96c05.copynumber.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac03ad96c05.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac07f6e3346.copynumber.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac07f6e3346.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac0e4de1d.copynumber.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac0e4de1d.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac06f9e37f0.segments.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac06f9e37f0.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac05f065141.segments.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac05f065141.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac01a51779e.segments.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac01a51779e.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac03a3f1636.calls.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac03a3f1636.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac0ec37beb.calls.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac0ec37beb.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac023b6b16.calls.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac023b6b16.calls.vcf'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac063693860.copynumber.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac063693860.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac034367953.copynumber.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac034367953.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac04b84898.copynumber.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac04b84898.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac04a9c14f9.segments.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac04a9c14f9.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac02af759a1.segments.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac02af759a1.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac0f795133.segments.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac0f795133.segments.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150a.3ac01c552a6.calls.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-LGG150b.3ac01c552a6.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-1.3ac073303e11.calls.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-2.3ac073303e11.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-001.3ac01d3f10cb.calls.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmp6PM6Xa\QDNAseq-002.3ac01d3f10cb.calls.seg'
> 
> message("* exportBins() ... done")
* exportBins() ... done
> 
> proc.time()
   user  system elapsed 
 124.21    2.37  126.64 

QDNAseq.Rcheck/tests_x64/QDNAseq.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

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, 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, setdiff, sort, 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)
> 
> # 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
> isobarPlot(data)
Plotting sample LGG150 median read counts
> 
> # Plot copy number profile
> plot(data, ylim=c(-100, 200))
Plotting sample LGG150 (1 of 1) ...
> highlightFilters(data, residual=TRUE, blacklist=TRUE)
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:  
> 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:  
> 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:  
> plot(dataN)
Plotting sample LGG150 (1 of 1) ...
> stopifnot(inherits(dataN, "QDNAseqCopyNumbers"))
> 
> # Plot noise
> 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:  
> 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"
39066977727065208.759800308415704262427.5119.9800308413020190427.599.4
Calling iteration1:

optim results
time: 0
minimum: 16445.6418287481
116443.1634295677-0.939948404909672-0.5351158716347190.04999922851584940.1357341814220170.2320391157632851.492692224927890.46336036623653-0.000744748796554230.0111894143724591-0.000962583906213420.3145629342085070.798554843389167
39082027730516208.859800308415704262427.5119.9800308413020190427.599.4
Calling iteration2:

optim results
time: 0
minimum: 16445.5781374328
116443.1331012469-0.932876677515091-0.5359433038809970.0499979048415910.1114729434735370.1905642555481931.861013902305770.4314700360573740.0001440687684073730.01118427659401560.0007568920162792620.2061088124299370.874022351578009
39082027730516208.859800308415704262427.5119.9800308413020190427.599.4
Calling iteration3:

optim results
time: 0
minimum: 16445.5975371627
116443.1273697069-0.924012853099608-0.5365177469718940.04999923288882760.108573194240180.1856071014916831.753751992204390.4694950401327692.93313204138107e-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
39108707951750208.960.7800308415704262427.5119.9800308413020190427.599.4
39108898118496208.962800308415704262427.5119.9800308413020190427.599.4
39108868118490208.962800308415704262427.5119.9800308413020190427.599.4
39109148385505208.964800308415704262427.5119.9800308413020190427.599.4
39113418386460208.964800308415704262427.5119.9800308413020190427.599.4
39113508386464208.964800308415704262427.5119.9800308413020190427.599.4
39113598386468208.964800308415704262427.5119.9800308413020190427.599.4
39113688386472208.964800308415704262427.5119.9800308413020190427.599.4
39113778386476208.964800308415704262427.5119.9800308413020190427.599.4
39113838386479208.964800308415704262427.5119.9800308413020190427.599.4
39114028453209208.964.5800308415704262427.5119.9800308413020190427.599.4
3911819845353220964.5800308415704262427.5119.9800308413020190427.599.4
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:  
> 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)))
+         file.remove(file)
+         stopifnot(!any(file_test("-f", file)))
+       }
+     }
+   }
+ }
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4067e47cad.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d40502d62fc.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d4018db6f21.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d402a77195d.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d401175c33.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d40623e6898.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40f0bcc0.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d403cab6a21.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d402d573c9a.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40567843ed.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d40249b29e6.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40345f52eb.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d404f8933c3.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4037d35ed3.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40553f4c2d.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d404bef3b1e.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d405dd34120.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d405eac7955.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40752f2100.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d407a56108f.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40101f3e38.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d4013411e36.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4067a81622.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d405db82409.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d401e9c1f27.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4040366767.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40656b4227.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d4035d955ca.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40103c31a.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4035131292.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40533c1cf8.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d406ea31204.segments.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40193614d7.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4078c36592.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d402865853.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d403aa31d5c.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d409863b33.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d402c1762f8.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d406530284a.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d403d8c316e.segments.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d404b68199a.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d407c414e87.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d401971bc0.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4046b46948.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4071e1608c.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40255a1b9.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d407afa24ef.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d401b927deb.segments.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4057366e1a.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d404dc1038.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40c2411e4.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d40524652cd.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d404b733e6c.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d403c283c66.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40524c3500.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d403c115259.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4052e62c3e.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4063013bd6.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d401c541d79.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d405fd91a6d.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4074a115f.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d404a0f4bd0.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40591e3fd8.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d404a678db.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4018fb5731.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d404d5e15d1.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d407e157e79.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d404c2837e9.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40780f472b.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4036dc6409.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d407da420e.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d405d2e3ad1.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40183b6b5a.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d4030df25db.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d404dbc621c.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d401e306a41.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d405ca32edb.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40489c4460.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d407e531d7c.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d407fc670dc.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4023ac6e63.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40b146e5.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d405fdf62db.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40572f47b8.calls.bed'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40758168b8.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40739c4768.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4039df293b.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4048cb12de.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4042927f35.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40641371e.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d401153186f.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4042a14dcd.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d403210464a.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d402a6872f0.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d407f3f41a3.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d406da47f7.calls.vcf'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d407265f9.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d40313d27fa.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d40172b27d2.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4046447142.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d406df24a5a.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d402dce80b.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d405da6184e.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d404ad17688.segments.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d403d112418.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150.8d4067904e28.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d404ebe533c.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4032152e18.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)))
+         file.remove(file)
+         stopifnot(!any(file_test("-f", file)))
+       }
+     }
+   }
+ }
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40410f38f2.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d405cdb1309.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40748a414.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d4037cb5433.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d407c7443b.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d405569719a.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40da1a26.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d4010501790.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d404f8a275b.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d404f8a275b.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d404dc7b7b.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d404dc7b7b.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4043a01110.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d4043a01110.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d40532675d8.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4036e02a4b.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d403d357d80.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d4071a87949.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d407572682a.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4019c9c1d.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40315d1432.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d407add1099.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d40547f5f99.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d40547f5f99.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4028db2371.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d4028db2371.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40479f104c.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d40479f104c.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4030e81a9e.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d40503911a9.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d404c704f01.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d407c2c2b3f.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d404a762949.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4075b314d5.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d4023287616.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d405396bae.segments.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4069b7455e.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4039a24d0c.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d4010655911.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d405d5619f3.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4032e066f8.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4042df282f.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d405ace31e3.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d4046472499.segments.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d4072a93e03.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d4072a93e03.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4044e92a95.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d4044e92a95.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d405acd2495.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d405acd2495.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d407b2854df.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d407b2854df.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4054cf4ac0.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d4054cf4ac0.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d406a604b88.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d406a604b88.segments.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4039117fc1.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d405b1d733b.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d402a934645.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d404f8b21c5.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d403d0c4d16.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d407a2e7bd4.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40413a5afa.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d40cd35fff.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d402b7631d9.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4073c7307.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d40488b2d1d.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d405146215d.calls.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4034c81f5e.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d404d3669e4.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d404954333f.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d40d165f7.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d4073c25393.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d40683162ae.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d402be55ec5.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d402c171f5d.segments.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq.8d407be62976.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%s.8d4054d455e.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%i.8d404e931467.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-%03i.8d4060442d11.calls.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d4077fa399a.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d4077fa399a.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4056883420.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d4056883420.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d402c3774b4.copynumber.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d402c3774b4.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d407c3a2908.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d407c3a2908.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d40588a4aa6.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d40588a4aa6.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4021c0fd5.segments.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d4021c0fd5.segments.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d4012ad748c.calls.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d4012ad748c.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d405dbb242c.calls.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d405dbb242c.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40126411d5.calls.bed', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d40126411d5.calls.bed'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d4073393c8f.copynumber.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d4073393c8f.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d40695545a5.copynumber.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d40695545a5.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40682d72dd.copynumber.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d40682d72dd.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d406d1a4377.segments.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d406d1a4377.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d40601c3618.segments.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d40601c3618.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40795f07.segments.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d40795f07.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d40f18296b.calls.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d40f18296b.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d406183736f.calls.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d406183736f.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4058f2746c.calls.vcf', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d4058f2746c.calls.vcf'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d401b547590.copynumber.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d401b547590.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d4070ac689e.copynumber.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d4070ac689e.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d4083b45b3.copynumber.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d4083b45b3.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d40c2d203a.segments.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d40c2d203a.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d401f817470.segments.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d401f817470.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40387a2f.segments.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d40387a2f.segments.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150a.8d40181e6ed0.calls.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-LGG150b.8d40181e6ed0.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-1.8d40589f1767.calls.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-2.8d40589f1767.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-001.8d40628a5ae.calls.seg', 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpe2YYbJ\QDNAseq-002.8d40628a5ae.calls.seg'
> 
> message("* exportBins() ... done")
* exportBins() ... done
> 
> proc.time()
   user  system elapsed 
 140.35    2.09  143.18 

QDNAseq.Rcheck/tests_i386/QDNAseq,copyneutral.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

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, 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, setdiff, sort, 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"
38924065522393118.842.2808033112255594246.693.6808033110144321246.677.4
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
38939115524710118.942.2808033112255594246.693.6808033110144321246.677.4
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
3896579572800511943.8808033112255594246.693.6808033110144321246.677.4
3896598589474911945808033112255594246.693.6808033110144321246.677.4
3896595589474511945808033112255594246.693.6808033110144321246.677.4
3896623616152511947.1808033112255594246.693.6808033110144321246.677.4
3897050616216311947.1808033112255594246.693.6808033110144321246.677.4
3897059616216611947.1808033112255594246.693.6808033110144321246.677.4
3897068616216911947.1808033112255594246.693.6808033110144321246.677.4
3897077616217211947.1808033112255594246.693.6808033110144321246.677.4
3897086616217511947.1808033112255594246.693.6808033110144321246.677.4
3897092616217711947.1808033112255594246.693.6808033110144321246.677.4
3897111622889111947.6808033112255594246.693.6808033110144321246.677.4
3897528622912811947.6808033112255594246.693.6808033110144321246.677.4
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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-%sd0a8531d672b.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-%sd0a85e746e7b.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-%sd0a815f0693e.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-%sd0a82280511c.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-%sd0a8170f1186.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-%sd0a873eb5a10.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a8627f24b4.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a853e8171f.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a8412f5f7a.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a821f7043.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a818185c37.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a8745a5a66.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a83d887bd6.copynumber.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a87681276c.segments.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpiSkSVi\QDNAseq-LGG150d0a838bb55f3.calls.vcf'
character(0)
> 
> proc.time()
   user  system elapsed 
  21.93    0.51   22.43 

QDNAseq.Rcheck/tests_x64/QDNAseq,copyneutral.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

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, 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, setdiff, sort, 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"
38924067720378207.959800488414845247427.6113.3800488410184617427.677.8
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
3893911772379920859800488414845247427.6113.3800488410184617427.677.8
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
38965797945553208.160.7800488414845247427.6113.3800488410460893427.679.9
38965988112299208.261.9800488414845247427.6113.3800488410460893427.679.9
38965958112293208.261.9800488414845247427.6113.3800488410460893427.679.9
38966238379073208.264800488414845247427.6113.3800488410460893427.679.9
38970508380028208.264800488414845247427.6113.3800488410460893427.679.9
38970598380032208.264800488414845247427.6113.3800488410460893427.679.9
38970688380036208.264800488414845247427.6113.3800488410460893427.679.9
38970778380040208.264800488414845247427.6113.3800488410460893427.679.9
38970868380044208.264800488414845247427.6113.3800488410460893427.679.9
38970928380047208.264800488414845247427.6113.3800488410460893427.679.9
38971118446777208.264.5800488414845247427.6113.3800488410460893427.679.9
38975288447100208.264.5800488414845247427.6113.3800488410460893427.679.9
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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-%s62206dea59f0.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-%s622075c732b.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-%s622067705509.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-%s62206aed5f68.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-%s622049f92b44.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-%s6220289d755c.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG15062205bcd4ace.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG150622015ee7fc6.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG1506220205d7872.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG1506220527c3ee0.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG150622039ca746b.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG1506220440e63da.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG15062203a76176.copynumber.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG150622027765088.segments.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\Rtmpyg1wXr\QDNAseq-LGG15062204b00222b.calls.vcf'
character(0)
> 
> proc.time()
   user  system elapsed 
  23.75    0.43   24.17 

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


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

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, 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, setdiff, sort, 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"
38927165560450118.842.5808041112255594246.693.6808041110142942246.677.4
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
3896889576588811944808041112255594246.693.6808041110142942246.677.4
3896908593263211945.3808041112255594246.693.6808041110142942246.677.4
3896905593262811945.3808041112255594246.693.6808041110142942246.677.4
3896933620115811947.4808041112255594246.693.6808041110142942246.677.4
3897360620179611947.4808041112255594246.693.6808041110142942246.677.4
3897369620179911947.4808041112255594246.693.6808041110142942246.677.4
3897378620180211947.4808041112255594246.693.6808041110142942246.677.4
3897387620180511947.4808041112255594246.693.6808041110142942246.677.4
3897396620180811947.4808041112255594246.693.6808041110142942246.677.4
3897402620181011947.4808041112255594246.693.6808041110142942246.677.4
3897421626852411947.9808041112255594246.693.6808041110142942246.677.4
3897838626876111947.9808041112255594246.693.6808041110142942246.677.4
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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-%s687060f64866.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-%s68703910172b.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-%s68702cc87940.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-%s687077cf44db.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-%s68706dc073d9.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-%s68702c066fe7.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG15068706fe5395f.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG150687059fb593.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG150687072be18d6.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG15068701fab190.copynumber.seg'
                                                                                        SAMPLE_NAME
1 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpUX1W10\\QDNAseq-LGG15068701fab190.copynumber.seg
2 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpUX1W10\\QDNAseq-LGG15068701fab190.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG150687077514515.segments.seg'
                                                                                       SAMPLE_NAME
1 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpUX1W10\\QDNAseq-LGG150687077514515.segments.seg
2 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpUX1W10\\QDNAseq-LGG150687077514515.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG1506870125f541f.calls.seg'
                                                                                    SAMPLE_NAME
1 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpUX1W10\\QDNAseq-LGG1506870125f541f.calls.seg
2 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpUX1W10\\QDNAseq-LGG1506870125f541f.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG15068702a52c12.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG15068701a80737a.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpUX1W10\QDNAseq-LGG15068703e941360.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 
  21.90    0.50   22.39 

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


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

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, 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, setdiff, sort, 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"
38927167763957207.959.3800488414845247427.6113.3800488412294216427.693.8
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
38968897988940208.261800488414845247427.6113.3800488412294216427.693.8
38969088155686208.262.3800488414845247427.6113.3800488412294216427.693.8
38969058155680208.262.3800488414845247427.6113.3800488412294216427.693.8
38969338424210208.264.3800488414845247427.6113.3800488412294216427.693.8
38973608425165208.264.3800488414845247427.6113.3800488412294216427.693.8
38973698425169208.264.3800488414845247427.6113.3800488412294216427.693.8
38973788425173208.264.3800488414845247427.6113.3800488412294216427.693.8
38973878425177208.264.3800488414845247427.6113.3800488412294216427.693.8
38973968425181208.264.3800488414845247427.6113.3800488412294216427.693.8
38974028425184208.264.3800488414845247427.6113.3800488412294216427.693.8
38974218491914208.264.8800488414845247427.6113.3800488412294216427.693.8
38978388492237208.264.8800488414845247427.6113.3800488412294216427.693.8
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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-%s915c4822169c.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-%s915c2714b51.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-%s915c15c9433c.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-%s915c31934906.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-%s915c4d62284e.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-%s915c715d3309.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c7b075eba.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c953209d.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c521527fc.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c745b503d.copynumber.seg'
                                                                                         SAMPLE_NAME
1 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpWyH9eo\\QDNAseq-LGG150915c745b503d.copynumber.seg
2 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpWyH9eo\\QDNAseq-LGG150915c745b503d.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c36303077.segments.seg'
                                                                                       SAMPLE_NAME
1 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpWyH9eo\\QDNAseq-LGG150915c36303077.segments.seg
2 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpWyH9eo\\QDNAseq-LGG150915c36303077.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c51d91c8a.calls.seg'
                                                                                    SAMPLE_NAME
1 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpWyH9eo\\QDNAseq-LGG150915c51d91c8a.calls.seg
2 C:\\Users\\biocbuild\\bbs-3.14-bioc\\tmpdir\\RtmpWyH9eo\\QDNAseq-LGG150915c51d91c8a.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c55884c0b.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c72183d87.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] 'C:\Users\biocbuild\bbs-3.14-bioc\tmpdir\RtmpWyH9eo\QDNAseq-LGG150915c385a60e9.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 
  23.79    0.53   24.31 

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


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

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 
  55.64    0.64   71.07 

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


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

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 
  53.60    0.56   64.54 

Example timings

QDNAseq.Rcheck/examples_i386/QDNAseq-Ex.timings

nameusersystemelapsed
addPhenodata0.170.000.17
applyFilters0.190.040.22
binReadCounts000
callBins24.02 0.2124.23
compareToReference2.230.002.24
correctBins1.960.021.97
createBins000
estimateCorrection1.870.031.91
exportBins000
frequencyPlot24.31 0.0324.34
getBinAnnotations000
highlightFilters1.050.001.05
isobarPlot1.200.031.23
makeCgh2.180.002.18
noisePlot1.980.022.00
normalizeBins2.090.002.09
normalizeSegmentedBins15.22 0.0015.22
plot2.970.033.00
poolRuns0.170.000.17
segmentBins15.10 0.0015.09
smoothOutlierBins2.060.012.08

QDNAseq.Rcheck/examples_x64/QDNAseq-Ex.timings

nameusersystemelapsed
addPhenodata0.110.010.12
applyFilters0.530.000.54
binReadCounts000
callBins19.80 0.1719.97
compareToReference2.320.022.34
correctBins2.190.022.21
createBins000
estimateCorrection2.170.002.17
exportBins000
frequencyPlot19.41 0.0619.47
getBinAnnotations000
highlightFilters1.170.041.22
isobarPlot1.280.021.29
makeCgh2.320.032.35
noisePlot2.290.022.31
normalizeBins2.440.002.44
normalizeSegmentedBins8.410.008.40
plot3.370.013.39
poolRuns0.110.020.13
segmentBins7.970.007.97
smoothOutlierBins2.060.002.06