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

This page was generated on 2021-10-15 15:06:17 -0400 (Fri, 15 Oct 2021).

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? here 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 1470/2041HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
QDNAseq 1.28.0  (landing page)
Daoud Sie
Snapshot Date: 2021-10-14 04:50:12 -0400 (Thu, 14 Oct 2021)
git_url: https://git.bioconductor.org/packages/QDNAseq
git_branch: RELEASE_3_13
git_last_commit: 3ca285f
git_last_commit_date: 2021-05-19 12:03:41 -0400 (Wed, 19 May 2021)
nebbiolo1Linux (Ubuntu 20.04.2 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.28.0
Command: C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:QDNAseq.install-out.txt --library=C:\Users\biocbuild\bbs-3.13-bioc\R\library --no-vignettes --timings QDNAseq_1.28.0.tar.gz
StartedAt: 2021-10-15 03:57:01 -0400 (Fri, 15 Oct 2021)
EndedAt: 2021-10-15 04:05:56 -0400 (Fri, 15 Oct 2021)
EllapsedTime: 534.8 seconds
RetCode: 0
Status:   OK  
CheckDir: QDNAseq.Rcheck
Warnings: 0

Command output

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


* using log directory 'C:/Users/biocbuild/bbs-3.13-bioc/meat/QDNAseq.Rcheck'
* using R version 4.1.1 (2021-08-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.28.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 ... NOTE
Namespace in Imports field not imported from: 'future'
  All declared Imports should be used.
* 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          27.23   0.04   27.26
callBins               25.53   0.27   25.80
segmentBins            17.14   0.01   17.16
normalizeSegmentedBins 16.08   0.04   16.13
** running examples for arch 'x64' ... OK
Examples with CPU (user + system) or elapsed time > 5s
                        user system elapsed
callBins               20.53   0.17   20.70
frequencyPlot          20.55   0.03   20.58
normalizeSegmentedBins 10.11   0.05   10.16
segmentBins             9.97   0.00    9.97
plot                    5.00   0.08    5.08
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'QDNAseq,reproducibility.R'
  Running 'QDNAseq.R'
 OK
** running tests for arch 'x64' ...
  Running 'QDNAseq,reproducibility.R'
  Running 'QDNAseq.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: 1 NOTE
See
  'C:/Users/biocbuild/bbs-3.13-bioc/meat/QDNAseq.Rcheck/00check.log'
for details.



Installation output

QDNAseq.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O http://155.52.207.165/BBS/3.13/bioc/src/contrib/QDNAseq_1.28.0.tar.gz && rm -rf QDNAseq.buildbin-libdir && mkdir QDNAseq.buildbin-libdir && C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=QDNAseq.buildbin-libdir QDNAseq_1.28.0.tar.gz && C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD INSTALL QDNAseq_1.28.0.zip && rm QDNAseq_1.28.0.tar.gz QDNAseq_1.28.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
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  579k  100  579k    0     0  1339k      0 --:--:-- --:--:-- --:--:-- 1338k

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.28.0.zip
* DONE (QDNAseq)
* installing to library 'C:/Users/biocbuild/bbs-3.13-bioc/R/library'
package 'QDNAseq' successfully unpacked and MD5 sums checked

Tests output

QDNAseq.Rcheck/tests_i386/QDNAseq.Rout


R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 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")
> 
> # 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)
> #print(fitC)
> #plot(fitC)
> 
> proc.time()
   user  system elapsed 
  24.14    0.65   24.76 

QDNAseq.Rcheck/tests_x64/QDNAseq.Rout


R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 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")
> 
> # 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)
> #print(fitC)
> #plot(fitC)
> 
> proc.time()
   user  system elapsed 
  19.65    0.45   20.09 

QDNAseq.Rcheck/tests_i386/QDNAseq,reproducibility.Rout


R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 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
> 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", "multiprocess")
> if (future::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))
+   
+   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("multiprocess") ...
    Calculating fit for sample LGG150 (1 of 1) ...
    Segmenting: LGG150 (1 of 1) ...
Reproducibility with plan("multiprocess") ... done
There were 50 or more warnings (use warnings() to see the first 50)
> 
> future::plan(oplan)
> 
> proc.time()
   user  system elapsed 
  57.50    0.65   73.10 

QDNAseq.Rcheck/tests_x64/QDNAseq,reproducibility.Rout


R version 4.1.1 (2021-08-10) -- "Kick Things"
Copyright (C) 2021 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
> 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", "multiprocess")
> if (future::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))
+   
+   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("multiprocess") ...
    Calculating fit for sample LGG150 (1 of 1) ...
    Segmenting: LGG150 (1 of 1) ...
Reproducibility with plan("multiprocess") ... done
There were 50 or more warnings (use warnings() to see the first 50)
> 
> future::plan(oplan)
> 
> proc.time()
   user  system elapsed 
  51.98    0.48   62.70 

Example timings

QDNAseq.Rcheck/examples_i386/QDNAseq-Ex.timings

nameusersystemelapsed
addPhenodata0.160.000.16
applyFilters0.200.030.23
binReadCounts000
callBins25.53 0.2725.80
compareToReference2.490.032.52
correctBins2.260.012.28
createBins000
estimateCorrection2.110.002.11
exportBins000
frequencyPlot27.23 0.0427.26
getBinAnnotations000
highlightFilters1.050.031.08
isobarPlot1.250.011.27
makeCgh2.250.002.25
noisePlot2.100.022.11
normalizeBins2.150.002.15
normalizeSegmentedBins16.08 0.0416.13
plot3.480.043.51
poolRuns0.190.000.19
segmentBins17.14 0.0117.16
smoothOutlierBins2.740.002.73

QDNAseq.Rcheck/examples_x64/QDNAseq-Ex.timings

nameusersystemelapsed
addPhenodata0.270.000.26
applyFilters0.530.020.55
binReadCounts000
callBins20.53 0.1720.70
compareToReference2.260.082.34
correctBins2.350.032.38
createBins000
estimateCorrection2.120.002.12
exportBins000
frequencyPlot20.55 0.0320.58
getBinAnnotations0.000.020.02
highlightFilters0.970.041.03
isobarPlot1.450.051.50
makeCgh2.550.032.58
noisePlot2.470.002.46
normalizeBins2.360.002.36
normalizeSegmentedBins10.11 0.0510.16
plot5.000.085.08
poolRuns0.290.000.30
segmentBins9.970.009.97
smoothOutlierBins2.620.002.62