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

This page was generated on 2022-04-13 12:05:48 -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 nebbiolo2


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: /home/biocbuild/bbs-3.14-bioc/R/bin/R CMD check --install=check:QDNAseq.install-out.txt --library=/home/biocbuild/bbs-3.14-bioc/R/library --no-vignettes --timings QDNAseq_1.30.0.tar.gz
StartedAt: 2022-04-12 08:52:48 -0400 (Tue, 12 Apr 2022)
EndedAt: 2022-04-12 08:59:14 -0400 (Tue, 12 Apr 2022)
EllapsedTime: 386.2 seconds
RetCode: 0
Status:   OK  
CheckDir: QDNAseq.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.14-bioc/R/bin/R CMD check --install=check:QDNAseq.install-out.txt --library=/home/biocbuild/bbs-3.14-bioc/R/library --no-vignettes --timings QDNAseq_1.30.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.14-bioc/meat/QDNAseq.Rcheck’
* using R version 4.1.3 (2022-03-10)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* 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 for sufficient/correct file permissions ... 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
* 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 ... OK
Examples with CPU (user + system) or elapsed time > 5s
                         user system elapsed
callBins               20.793  0.639  21.433
frequencyPlot          19.430  0.016  19.447
normalizeSegmentedBins  6.954  0.008   6.962
segmentBins             6.947  0.000   6.947
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘QDNAseq,copyneutral.R’
  Running ‘QDNAseq,gain-copyneutral-gain.R’
  Running ‘QDNAseq,parallel-reproducibility.R’
  Running ‘QDNAseq.R’
  Running ‘binReadCounts.R’
 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:
###
###   /home/biocbuild/bbs-3.14-bioc/R/bin/R CMD INSTALL QDNAseq
###
##############################################################################
##############################################################################


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

Tests output

QDNAseq.Rcheck/tests/binReadCounts.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (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] "/home/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.289   0.564   6.838 

QDNAseq.Rcheck/tests/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-pc-linux-gnu (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"
39446508011288210.761.2790053815771914422120.479005381083049642282.7
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
39461558014709210.861.2790053815771914422120.479005381083049642282.7
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
39488238236463210.962.9790053815771914422120.479005381083049642282.7
39488428403209210.964.2790053815771914422120.479005381083049642282.7
39488398403203210.964.2790053815771914422120.479005381083049642282.7
39488678669983210.966.2790053815771914422120.479005381083049642282.7
3949294867093821166.2790053815771914422120.479005381083049642282.7
3949303867094221166.2790053815771914422120.479005381083049642282.7
3949312867094621166.2790053815771914422120.479005381083049642282.7
3949321867095021166.2790053815771914422120.479005381083049642282.7
3949330867095421166.2790053815771914422120.479005381083049642282.7
3949336867095721166.2790053815771914422120.479005381083049642282.7
3949355873768721166.7790053815771914422120.479005381083049642282.7
3949772873801021166.7790053815771914422120.479005381083049642282.7
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] '/tmp/Rtmpxp9N60/QDNAseq-%sdde7f6db16c16.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-%sdde7f65defbfa.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-%sdde7f669461f1.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-%sdde7f409106f3.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-%sdde7f4a6b11a4.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-%sdde7f1d662072.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f68c78b53.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f274cc511.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f26062955.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f26c4a906.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] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f38f0a4da.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] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f7356ed6a.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] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f66d236d6.copynumber.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f2f3a3c37.segments.vcf'
character(0)
  - exportBins(<1 samples>, format="vcf", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpxp9N60/QDNAseq-LGG150dde7f446826bd.calls.vcf'
character(0)
> 
> proc.time()
   user  system elapsed 
 22.431   0.864  23.284 

QDNAseq.Rcheck/tests/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-pc-linux-gnu (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"
39449608054867210.761.5790053815761033422120.379005381082284642282.6
Calling iteration1:

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

Computing posterior probabilities for all segments ...

Total time:0minutes

Adjusting segmented data for cellularity ... 

Cellularity sample1: 1

Adjusting normalized data for cellularity ... 

Cellularity sample1: 1

1
3949133827985021163.2790053815761033422120.379005381082284642282.6
3949152844659621164.5790053815761033422120.379005381082284642282.6
3949149844659021164.5790053815761033422120.379005381082284642282.6
3949177871512021166.5790053815761033422120.379005381082284642282.6
3949604871607521166.5790053815761033422120.379005381082284642282.6
3949613871607921166.5790053815761033422120.379005381082284642282.6
3949622871608321166.5790053815761033422120.379005381082284642282.6
3949631871608721166.5790053815761033422120.379005381082284642282.6
3949640871609121166.5790053815761033422120.379005381082284642282.6
3949646871609421166.5790053815761033422120.379005381082284642282.6
3949665878282421167.1790053815761033422120.379005381082284642282.6
3950082878314721167.1790053815761033422120.379005381082284642282.6
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] '/tmp/Rtmpj6bNxm/QDNAseq-%sde3a14bb3a1ca.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-%sde3a17b984f6f.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-%sde3a15e2afe82.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-%sde3a162ce20da.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-%sde3a12121da32.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-%sde3a176557fb1.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a12498c3ff.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a131ee7903.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a15299c5a5.calls.bed'
  - exportBins(<1 samples>, format="seg", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a159c42779.copynumber.seg'
                                                 SAMPLE_NAME CHROMOSOME
1 /tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a159c42779.copynumber.seg          7
2 /tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a159c42779.copynumber.seg          7
     START      STOP DATAPOINTS LOG2_RATIO_MEAN
1 37110001  68955000       1487            0.99
2 90165001 122010000       2012            0.99
  - exportBins(<1 samples>, format="seg", type="segments")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a1d6cc4e5.segments.seg'
                                              SAMPLE_NAME CHROMOSOME    START
1 /tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a1d6cc4e5.segments.seg          7 37110001
2 /tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a1d6cc4e5.segments.seg          7 90165001
       STOP DATAPOINTS LOG2_RATIO_MEAN
1  68955000       1487            0.99
2 122010000       2012            0.99
  - exportBins(<1 samples>, format="seg", type="calls")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a1705eea77.calls.seg'
                                            SAMPLE_NAME CHROMOSOME    START
1 /tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a1705eea77.calls.seg          7 37110001
2 /tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a1705eea77.calls.seg          7 90165001
       STOP DATAPOINTS LOG2_RATIO_MEAN
1  68955000       1487            0.99
2 122010000       2012            0.99
  - exportBins(<1 samples>, format="vcf", type="copynumber")
    File(s) written: [n=1] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a13e089f07.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] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a14a16352c.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] '/tmp/Rtmpj6bNxm/QDNAseq-LGG150de3a138da2e55.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.970   0.654  22.610 

QDNAseq.Rcheck/tests/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-pc-linux-gnu (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
Reproducibility with plan("multicore") ...
Reproducibility with plan("multicore") ... done
There were 50 or more warnings (use warnings() to see the first 50)
> 
> future::plan(oplan)
> 
> proc.time()
   user  system elapsed 
 73.404   1.585  83.959 

QDNAseq.Rcheck/tests/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-pc-linux-gnu (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"
39589398017975211.561.2771109215256215411.9116.4771109212646845411.996.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
39604448021426211.661.2771109215256215411.9116.4771109212646845411.996.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
39604448021426211.661.2771109215256215411.9116.4771109212646845411.996.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
39631128242660211.762.9771109215256215411.9116.4771109212646845411.996.5
39631318409406211.764.2771109215256215411.9116.4771109212646845411.996.5
39631288409400211.764.2771109215256215411.9116.4771109212646845411.996.5
39631568676415211.766.2771109215256215411.9116.4771109212646845411.996.5
39635838677370211.766.3771109215256215411.9116.4771109212646845411.996.5
39635928677374211.766.3771109215256215411.9116.4771109212646845411.996.5
39636018677378211.766.3771109215256215411.9116.4771109212646845411.996.5
39636108677382211.766.3771109215256215411.9116.4771109212646845411.996.5
39636198677386211.766.3771109215256215411.9116.4771109212646845411.996.5
39636258677389211.766.3771109215256215411.9116.4771109212646845411.996.5
39636448744119211.766.8771109215256215411.9116.4771109212646845411.996.5
39640618744442211.866.8771109215256215411.9116.4771109212646845411.996.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] '/tmp/RtmpoabEKN/QDNAseq.e402d28c14808.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d3d9e0921.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d5d321a34.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d26363b79.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d25d9fe9c.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d61e2ac13.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d254ae186.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d794bb2e9.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d31e28063.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d425f46d.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d38c76fbb.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d1ae4fc37.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d505d9e2.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d3004207.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d4585bb16.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d7ea861f9.copynumber.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402deb3911a.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d196cab6f.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d1d5a4e10.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d8b59bd0.copynumber.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d242ad298.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d6560f906.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d6132f504.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d513ef6bd.copynumber.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402dad36df8.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d79ccba6c.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d782ee56b.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d3f2d01e2.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d54b7983e.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d9f2b83a.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d2a5688c2.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d7d78e047.segments.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d4790c15b.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d788a2f6.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d23af1bc0.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d6d6abff7.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d696b4f09.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d48f9fd46.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d66b672e1.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d1b4dcf6d.segments.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d4d1ff1b4.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d1f7de29c.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d3632cba4.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d5225cb96.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d227e24a4.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d7bb886ba.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d50ce2d8f.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d3131b5be.segments.bed'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d1525322a.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d6e287b9f.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d39e7518e.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d395004c2.copynumber.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d538974a5.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d1b1a4692.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402da8efb7f.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d5e5ce29e.segments.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d14e700ff.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d2bde0eb.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d1d89e480.calls.tsv'
  - exportBins(<1 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d699e993d.calls.tsv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402dcb09925.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d47e06d42.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d67177984.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d54415a80.copynumber.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d4f691039.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402dac69545.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d41ac1a78.segments.igv'
  - exportBins(<1 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d38d45f42.segments.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d53c0928b.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d28628d59.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d54222eaf.calls.igv'
  - exportBins(<1 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d20e0843f.calls.igv'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d47e06ff5.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402da54fa53.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d73064fd5.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d6a5e9499.copynumber.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d60d810e.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d43d47d64.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d1b904a58.segments.bed'
  - exportBins(<1 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d1b32b338.segments.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d31fcf903.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d55779be6.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d5482b7fa.calls.bed'
  - exportBins(<1 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d5866da9.calls.bed'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d7091e279.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d5f11b379.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d63e35047.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d578e378.copynumber.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d61cf9464.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d16d34c7.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d6f177cb5.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d6e802d89.segments.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d494da209.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d562ef63a.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d42c1880a.calls.vcf'
  - exportBins(<1 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d18b6b242.calls.vcf'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d60f58b7f.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d46da282.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d518b1185.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d34b61e0a.copynumber.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d2cd02fdb.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d25ad4034.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d5596a24a.segments.seg'
  - exportBins(<1 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d74b09fd0.segments.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d30023a88.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-LGG150.e402d489cf21f.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-1.e402d5f0f346a.calls.seg'
  - exportBins(<1 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-001.e402d360fbb96.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] '/tmp/RtmpoabEKN/QDNAseq.e402dc716f84.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d7a9f7ec2.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d51426ece.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d3e6e6887.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d50171aa8.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d25c526c8.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d43f4d630.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d40a8fd21.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d4d6da41.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d4d6da41.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d27d82677.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402d27d82677.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d4621e099.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402d4621e099.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d66a66ea6.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d29455b3e.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d35395d4f.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d55269c2f.copynumber.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d7292fd48.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402db685389.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d17e82439.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402db49af8a.copynumber.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d6c5ddf08.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d6c5ddf08.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d1c55c6bb.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402d1c55c6bb.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d5cd4c10f.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402d5cd4c10f.copynumber.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d2113fd12.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d4925f696.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d2820144.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d76aa9f5c.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d3dd69667.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d32843bcc.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d3f47917c.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d1ce5cad1.segments.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d6893f762.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d4bb90100.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d17854993.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d39d66630.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402da276987.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d679c643b.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d5f9b8cf8.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d4e1c3fb8.segments.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d2845615d.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d2845615d.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d64726739.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402d64726739.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d75f4662f.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402d75f4662f.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d6e6741f6.segments.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d6e6741f6.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d4b18d5df.segments.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402d4b18d5df.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d1f39c16e.segments.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402d1f39c16e.segments.bed'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d23a09f45.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d203f720f.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d11ccbeb6.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d2f08f2ce.copynumber.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d38279648.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d1d166e40.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d1b66d1d6.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d547d5d04.segments.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d79eb2f50.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d3c7acee9.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d1da3539a.calls.tsv'
  - exportBins(<2 samples>, format="tsv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d7c6d3094.calls.tsv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d33256e45.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d5b79ea01.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d2ef16c60.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d726cffc1.copynumber.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d785fb4d2.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d178563c2.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d3e2600c1.segments.igv'
  - exportBins(<2 samples>, format="igv", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402dfe4fe65.segments.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq.e402d515bc9f2.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%s.e402d484d6a49.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%i.e402d778162a1.calls.igv'
  - exportBins(<2 samples>, format="igv", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=1] '/tmp/RtmpoabEKN/QDNAseq-%03i.e402d30f756ea.calls.igv'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d1669aa01.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d1669aa01.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d1fc6c3fe.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402d1fc6c3fe.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d1569be23.copynumber.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402d1569be23.copynumber.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402dc5e1030.segments.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402dc5e1030.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402de2e05f4.segments.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402de2e05f4.segments.bed'
  - exportBins(<2 samples>, format="bed", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d60829403.segments.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402d60829403.segments.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d2b97d19e.calls.bed', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d2b97d19e.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d31cea53a.calls.bed', '/tmp/RtmpoabEKN/QDNAseq-2.e402d31cea53a.calls.bed'
  - exportBins(<2 samples>, format="bed", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402dc20612.calls.bed', '/tmp/RtmpoabEKN/QDNAseq-002.e402dc20612.calls.bed'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d3d649054.copynumber.vcf', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d3d649054.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d60d79808.copynumber.vcf', '/tmp/RtmpoabEKN/QDNAseq-2.e402d60d79808.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d38e99c5a.copynumber.vcf', '/tmp/RtmpoabEKN/QDNAseq-002.e402d38e99c5a.copynumber.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d5a7afe95.segments.vcf', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d5a7afe95.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d7c3e69df.segments.vcf', '/tmp/RtmpoabEKN/QDNAseq-2.e402d7c3e69df.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402dd66f95e.segments.vcf', '/tmp/RtmpoabEKN/QDNAseq-002.e402dd66f95e.segments.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d54662de5.calls.vcf', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d54662de5.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d38b938c8.calls.vcf', '/tmp/RtmpoabEKN/QDNAseq-2.e402d38b938c8.calls.vcf'
  - exportBins(<2 samples>, format="vcf", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d2b0a4cf9.calls.vcf', '/tmp/RtmpoabEKN/QDNAseq-002.e402d2b0a4cf9.calls.vcf'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d50d35e79.copynumber.seg', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d50d35e79.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d6bdea70d.copynumber.seg', '/tmp/RtmpoabEKN/QDNAseq-2.e402d6bdea70d.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="copynumber", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d68436fa.copynumber.seg', '/tmp/RtmpoabEKN/QDNAseq-002.e402d68436fa.copynumber.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d7fc4cad9.segments.seg', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d7fc4cad9.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d5e4ba6cf.segments.seg', '/tmp/RtmpoabEKN/QDNAseq-2.e402d5e4ba6cf.segments.seg'
  - exportBins(<2 samples>, format="seg", type="segments", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402d7ee3ebcd.segments.seg', '/tmp/RtmpoabEKN/QDNAseq-002.e402d7ee3ebcd.segments.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%s.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-LGG150a.e402d174a2e9b.calls.seg', '/tmp/RtmpoabEKN/QDNAseq-LGG150b.e402d174a2e9b.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-1.e402d1c71a790.calls.seg', '/tmp/RtmpoabEKN/QDNAseq-2.e402d1c71a790.calls.seg'
  - exportBins(<2 samples>, format="seg", type="calls", file="QDNAseq-%03i.")
    File(s) written: [n=2] '/tmp/RtmpoabEKN/QDNAseq-001.e402dec8ea32.calls.seg', '/tmp/RtmpoabEKN/QDNAseq-002.e402dec8ea32.calls.seg'
> 
> message("* exportBins() ... done")
* exportBins() ... done
> 
> proc.time()
   user  system elapsed 
 72.329   1.445  73.875 

Example timings

QDNAseq.Rcheck/QDNAseq-Ex.timings

nameusersystemelapsed
addPhenodata0.1200.0080.127
applyFilters0.2400.0040.244
binReadCounts000
callBins20.793 0.63921.433
compareToReference1.9780.0171.995
correctBins1.7270.0161.744
createBins0.0000.0000.001
estimateCorrection1.7560.0041.759
exportBins000
frequencyPlot19.430 0.01619.447
getBinAnnotations000
highlightFilters0.7710.0120.783
isobarPlot0.9860.0110.998
makeCgh1.8860.0041.890
noisePlot1.7670.0041.771
normalizeBins1.7780.0041.781
normalizeSegmentedBins6.9540.0086.962
plot2.3950.0042.399
poolRuns0.1240.0000.124
segmentBins6.9470.0006.947
smoothOutlierBins1.7830.0081.791