Back to Multiple platform build/check report for BioC 3.13
ABC[D]EFGHIJKLMNOPQRSTUVWXYZ

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

CHECK results for diffHic on tokay2

To the developers/maintainers of the diffHic package:
- Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/diffHic.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 499/2041HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
diffHic 1.24.1  (landing page)
Aaron Lun
Snapshot Date: 2021-10-14 04:50:12 -0400 (Thu, 14 Oct 2021)
git_url: https://git.bioconductor.org/packages/diffHic
git_branch: RELEASE_3_13
git_last_commit: a505f6d
git_last_commit_date: 2021-07-15 04:46:22 -0400 (Thu, 15 Jul 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: diffHic
Version: 1.24.1
Command: C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:diffHic.install-out.txt --library=C:\Users\biocbuild\bbs-3.13-bioc\R\library --no-vignettes --timings diffHic_1.24.1.tar.gz
StartedAt: 2021-10-14 22:17:29 -0400 (Thu, 14 Oct 2021)
EndedAt: 2021-10-14 22:26:48 -0400 (Thu, 14 Oct 2021)
EllapsedTime: 559.0 seconds
RetCode: 0
Status:   OK  
CheckDir: diffHic.Rcheck
Warnings: 0

Command output

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


* using log directory 'C:/Users/biocbuild/bbs-3.13-bioc/meat/diffHic.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 'diffHic/DESCRIPTION' ... OK
* this is package 'diffHic' version '1.24.1'
* 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 'diffHic' can be installed ... OK
* checking installed package size ... NOTE
  installed size is 10.5Mb
  sub-directories of 1Mb or more:
    doc    1.3Mb
    libs   7.6Mb
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* loading checks for arch 'x64'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... NOTE
GNU make is a SystemRequirements.
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files for i386 is not available
Note: information on .o files for x64 is not available
File 'C:/Users/biocbuild/bbs-3.13-bioc/R/library/diffHic/libs/i386/diffHic.dll':
  Found '_exit', possibly from '_exit' (C)
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'printf', possibly from 'printf' (C)
  Found 'putchar', possibly from 'putchar' (C)
  Found 'puts', possibly from 'printf' (C), 'puts' (C)
  Found 'rand', possibly from 'rand' (C)
File 'C:/Users/biocbuild/bbs-3.13-bioc/R/library/diffHic/libs/x64/diffHic.dll':
  Found '_exit', possibly from '_exit' (C)
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'printf', possibly from 'printf' (C)
  Found 'putchar', possibly from 'putchar' (C)
  Found 'puts', possibly from 'printf' (C), 'puts' (C)
  Found 'rand', possibly from 'rand' (C)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs. The detected symbols are linked into the code but
might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking installed files from 'inst/doc' ... 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
normalizeCNV 9.84   0.22   10.06
cutGenome    7.67   0.19    7.86
** running examples for arch 'x64' ... OK
Examples with CPU (user + system) or elapsed time > 5s
             user system elapsed
normalizeCNV 8.25   0.02    8.28
cutGenome    7.44   0.16    7.60
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'test-basic.R'
  Comparing 'test-basic.Rout' to 'test-basic.Rout.save' ...208,210d207
< Warning message:
< In (function (counts = matrix(0, 0, 0), lib.size = colSums(counts),  :
<   norm factors don't multiply to 1
  Running 'testthat.R'
 OK
** running tests for arch 'x64' ...
  Running 'test-basic.R'
  Comparing 'test-basic.Rout' to 'test-basic.Rout.save' ...208,210d207
< Warning message:
< In (function (counts = matrix(0, 0, 0), lib.size = colSums(counts),  :
<   norm factors don't multiply to 1
  Running 'testthat.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: 3 NOTEs
See
  'C:/Users/biocbuild/bbs-3.13-bioc/meat/diffHic.Rcheck/00check.log'
for details.



Installation output

diffHic.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O http://155.52.207.165/BBS/3.13/bioc/src/contrib/diffHic_1.24.1.tar.gz && rm -rf diffHic.buildbin-libdir && mkdir diffHic.buildbin-libdir && C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=diffHic.buildbin-libdir diffHic_1.24.1.tar.gz && C:\Users\biocbuild\bbs-3.13-bioc\R\bin\R.exe CMD INSTALL diffHic_1.24.1.zip && rm diffHic_1.24.1.tar.gz diffHic_1.24.1.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
 11 1458k   11  160k    0     0   700k      0  0:00:02 --:--:--  0:00:02  701k
100 1458k  100 1458k    0     0  2288k      0 --:--:-- --:--:-- --:--:-- 2289k

install for i386

* installing *source* package 'diffHic' ...
** using staged installation
** libs
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c binner.cpp -o binner.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c check_input.cpp -o check_input.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cluster_2d.cpp -o cluster_2d.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c count_background.cpp -o count_background.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c count_connect.cpp -o count_connect.o
count_connect.cpp: In function 'SEXPREC* count_connect(SEXP, SEXP)':
count_connect.cpp:57:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare]
     for (size_t odex=0; odex < ncombos; ++odex) {
                         ~~~~~^~~~~~~~~
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c count_patch.cpp -o count_patch.o
count_patch.cpp: In function 'SEXPREC* count_patch(SEXP, SEXP, SEXP, SEXP, SEXP)':
count_patch.cpp:45:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'const int' [-Wsign-compare]
     for (size_t vecdex=0; vecdex<ncombos; ++vecdex) {
                           ~~~~~~^~~~~~~~
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c directionality.cpp -o directionality.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.cpp -o init.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c iterative_correction.cpp -o iterative_correction.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c neighbors.cpp -o neighbors.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c pair_stats.cpp -o pair_stats.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quadrant_bg.cpp -o quadrant_bg.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c report_hic_pairs.cpp -o report_hic_pairs.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c trended_filter.cpp -o trended_filter.o
"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"c:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.cpp -o utils.o
C:/rtools40/mingw32/bin/g++ -shared -s -static-libgcc -o diffHic.dll tmp.def binner.o check_input.o cluster_2d.o count_background.o count_connect.o count_patch.o directionality.o init.o iterative_correction.o neighbors.o pair_stats.o quadrant_bg.o report_hic_pairs.o trended_filter.o utils.o C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/usrlib/i386/libhts.a -Lc:/extsoft/lib/i386 -lcurl -lrtmp -lssl -lssh2 -lcrypto -lgdi32 -lz -lws2_32 -lwldap32 -lwinmm -lidn -Lc:/extsoft/lib/i386 -Lc:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.13-bioc/meat/diffHic.buildbin-libdir/00LOCK-diffHic/00new/diffHic/libs/i386
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'diffHic'
    finding HTML links ... done
    DNaseHiC                                html  
    annotatePairs                           html  
    finding level-2 HTML links ... done

    boxPairs                                html  
    clusterPairs                            html  
    compartmentalize                        html  
    connectCounts                           html  
    consolidatePairs                        html  
    correctedContact                        html  
    cutGenome                               html  
    diClusters                              html  
    diffHicUsersGuide                       html  
    domainDirections                        html  
    enrichedPairs                           html  
    extractPatch                            html  
    filterDiag                              html  
    filterPeaks                             html  
    filters                                 html  
    getArea                                 html  
    getPairData                             html  
    loadData                                html  
    marginCounts                            html  
    mergeCMs                                html  
    mergePairs                              html  
    neighborCounts                          html  
    normalizeCNV                            html  
    pairParam                               html  
    plotDI                                  html  
    plotPlaid                               html  
    preparePairs                            html  
    prunePairs                              html  
    readMTX2IntSet                          html  
    savePairs                               html  
    squareCounts                            html  
    totalCounts                             html  
** building package indices
** installing vignettes
   'diffHic.Rnw' 
** 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 'diffHic' ...
** libs
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c binner.cpp -o binner.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c check_input.cpp -o check_input.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c cluster_2d.cpp -o cluster_2d.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c count_background.cpp -o count_background.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c count_connect.cpp -o count_connect.o
count_connect.cpp: In function 'SEXPREC* count_connect(SEXP, SEXP)':
count_connect.cpp:57:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
     for (size_t odex=0; odex < ncombos; ++odex) {
                         ~~~~~^~~~~~~~~
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c count_patch.cpp -o count_patch.o
count_patch.cpp: In function 'SEXPREC* count_patch(SEXP, SEXP, SEXP, SEXP, SEXP)':
count_patch.cpp:45:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare]
     for (size_t vecdex=0; vecdex<ncombos; ++vecdex) {
                           ~~~~~~^~~~~~~~
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c directionality.cpp -o directionality.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c init.cpp -o init.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c iterative_correction.cpp -o iterative_correction.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c neighbors.cpp -o neighbors.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c pair_stats.cpp -o pair_stats.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c quadrant_bg.cpp -o quadrant_bg.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c report_hic_pairs.cpp -o report_hic_pairs.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c trended_filter.cpp -o trended_filter.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++11 -I"C:/Users/BIOCBU~1/BBS-3~1.13-/R/include" -DNDEBUG -D_FILE_OFFSET_BITS=64 -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/zlibbioc/include' -I'C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rcpp/include'   -I"C:/extsoft/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c utils.cpp -o utils.o
C:/rtools40/mingw64/bin/g++ -shared -s -static-libgcc -o diffHic.dll tmp.def binner.o check_input.o cluster_2d.o count_background.o count_connect.o count_patch.o directionality.o init.o iterative_correction.o neighbors.o pair_stats.o quadrant_bg.o report_hic_pairs.o trended_filter.o utils.o C:/Users/biocbuild/bbs-3.13-bioc/R/library/Rhtslib/usrlib/x64/libhts.a -LC:/extsoft/lib/x64 -lcurl -lrtmp -lssl -lssh2 -lcrypto -lgdi32 -lz -lws2_32 -lwldap32 -lwinmm -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.13-/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.13-bioc/meat/diffHic.buildbin-libdir/diffHic/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'diffHic' as diffHic_1.24.1.zip
* DONE (diffHic)
* installing to library 'C:/Users/biocbuild/bbs-3.13-bioc/R/library'
package 'diffHic' successfully unpacked and MD5 sums checked

Tests output

diffHic.Rcheck/tests_i386/test-basic.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.

> # These are just placeholders for the real things in inst/tests.
> 
> suppressWarnings(suppressPackageStartupMessages(require(diffHic)))
> 
> hic.file <- system.file("exdata", "hic_sort.bam", package="diffHic")
> cuts <- readRDS(system.file("exdata", "cuts.rds", package="diffHic"))
> param <- pairParam(fragments=cuts)
> 
> # Setting up the parameters
> fout <- "output.h5"
> preparePairs(hic.file, param, file=fout)
$pairs
   total   marked filtered   mapped 
      32        7        3       22 

$same.id
   dangling self.circle 
          4           1 

$singles
[1] 2

$chimeras
  total  mapped   multi invalid 
     12       8       7       5 

> head(getPairData(fout, param))
  length orientation insert
1     40           1     40
2     80           1     80
3     60           2     54
4     40           3    160
5     20           1     66
6     80           0    114
> 
> loadChromos(fout)
  anchor1 anchor2
1    chrA    chrA
2    chrB    chrA
3    chrB    chrB
> head(loadData(fout, "chrA", "chrA"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          2          1          49          14          -5          10
2          2          1          79           9         -10          10
3          2          1          65          21          10         -10
4          4          1         156           6         -10         -10
5          4          2         141          80          -5          10
6          4          2         154          50          10          10
> head(loadData(fout, "chrA", "chrB"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          5          2          19          44          10         -10
2          5          3          14         105          10         -10
3          6          1          65          19           5          10
4          6          2          24          90          -5           5
5          6          3          24         100          -5         -10
6          6          3          24          95          -5         -10
Warning message:
In value[[3L]](cond) : anchor definitions are reversed
> 
> # Loading the counts.
> data <- squareCounts(fout, param, width=50, filter=1)
> data
class: InteractionSet 
dim: 10 1 
metadata(2): param width
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> 
> margins <- marginCounts(fout, param, width=50)
> margins
class: RangedSummarizedExperiment 
dim: 6 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(1): nfrags
colnames: NULL
colData names(1): totals
> totalCounts(fout, param)
[1] 17
> 
> regions <- GRanges("chrA", IRanges(c(1, 100, 150), c(20, 140, 160)))
> connectCounts(fout, param, regions=regions, filter=1L)
class: InteractionSet 
dim: 2 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 3
> 
> # Checking some values.
> head(getArea(data))
[1] 2208 2304 2208 2208 3312 3174
> head(pairdist(data))
[1]  47 140  93  47  NA  NA
> 
> anchors(data, type="first")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA     49-94      * |         1
   [2]     chrA   141-188      * |         1
   [3]     chrA   141-188      * |         1
   [4]     chrA   141-188      * |         1
   [5]     chrB      1-69      * |         2
   [6]     chrB      1-69      * |         2
   [7]     chrB      1-69      * |         2
   [8]     chrB      1-69      * |         2
   [9]     chrB     70-92      * |         1
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> anchors(data, type="second")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA      1-48      * |         1
   [2]     chrA      1-48      * |         1
   [3]     chrA     49-94      * |         1
   [4]     chrA    95-140      * |         1
   [5]     chrA      1-48      * |         1
   [6]     chrA     49-94      * |         1
   [7]     chrA    95-140      * |         1
   [8]     chrB      1-69      * |         2
   [9]     chrB      1-69      * |         2
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> assay(data)
      [,1]
 [1,]    3
 [2,]    1
 [3,]    2
 [4,]    1
 [5,]    1
 [6,]    2
 [7,]    3
 [8,]    1
 [9,]    2
[10,]    1
> regions(data)
GRanges object with 6 ranges and 1 metadata column:
      seqnames    ranges strand |    nfrags
         <Rle> <IRanges>  <Rle> | <integer>
  [1]     chrA      1-48      * |         1
  [2]     chrA     49-94      * |         1
  [3]     chrA    95-140      * |         1
  [4]     chrA   141-188      * |         1
  [5]     chrB      1-69      * |         2
  [6]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> 
> data$totals
[1] 17
> colData(data)
DataFrame with 1 row and 1 column
     totals
  <integer>
1        17
> metadata(data)
$param
Genome contains 7 restriction fragments across 2 chromosomes
No discard regions are specified
No limits on chromosomes for read extraction
No cap on the read pairs per pair of restriction fragments

$width
[1] 50

> 
> asDGEList(data)
An object of class "DGEList"
$counts
   Sample1
1        3
2        1
3        2
4        1
5        1
6        2
7        3
8        1
9        2
10       1

$samples
        group lib.size norm.factors
Sample1     1       17            1

> asDGEList(data, lib.size=20)$samples
        group lib.size norm.factors
Sample1     1       20            1
> asDGEList(data, norm.factors=2, group="a")$samples
        group lib.size norm.factors
Sample1     a       17            2
Warning message:
In (function (counts = matrix(0, 0, 0), lib.size = colSums(counts),  :
  norm factors don't multiply to 1
> 
> # Playing around with some bin counts.
> stuff <- correctedContact(data)
> head(stuff$truth)
[1] 1.517032e+04 6.123523e-01 6.123523e-01 8.162749e-01 2.041633e-01
[6] 2.041633e-01
> 
> data.large <- squareCounts(fout, param, width=100, filter=1)
> boxed <- boxPairs(larger=data.large, smaller=data)
> head(boxed$indices$larger)
[1] 1 2 3 4 5 6
> head(boxed$indices$smaller)
[1] 1 2 2 3 4 4
> 
> head(enrichedPairs(data))
class: InteractionSet 
dim: 6 1 
metadata(2): param width
assays(5): counts quadrant vertical horizontal surrounding
rownames: NULL
rowData names(4): N.quadrant N.vertical N.horizontal N.surrounding
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> head(clusterPairs(data, tol=10)$indices[[1]])
[1] 1 2 2 2 3 3
> 
> # End.
> 
> unlink(fout)
> 
> proc.time()
   user  system elapsed 
  11.45    1.28   12.70 

diffHic.Rcheck/tests_x64/test-basic.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.

> # These are just placeholders for the real things in inst/tests.
> 
> suppressWarnings(suppressPackageStartupMessages(require(diffHic)))
> 
> hic.file <- system.file("exdata", "hic_sort.bam", package="diffHic")
> cuts <- readRDS(system.file("exdata", "cuts.rds", package="diffHic"))
> param <- pairParam(fragments=cuts)
> 
> # Setting up the parameters
> fout <- "output.h5"
> preparePairs(hic.file, param, file=fout)
$pairs
   total   marked filtered   mapped 
      32        7        3       22 

$same.id
   dangling self.circle 
          4           1 

$singles
[1] 2

$chimeras
  total  mapped   multi invalid 
     12       8       7       5 

> head(getPairData(fout, param))
  length orientation insert
1     40           1     40
2     80           1     80
3     60           2     54
4     40           3    160
5     20           1     66
6     80           0    114
> 
> loadChromos(fout)
  anchor1 anchor2
1    chrA    chrA
2    chrB    chrA
3    chrB    chrB
> head(loadData(fout, "chrA", "chrA"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          2          1          49          14          -5          10
2          2          1          79           9         -10          10
3          2          1          65          21          10         -10
4          4          1         156           6         -10         -10
5          4          2         141          80          -5          10
6          4          2         154          50          10          10
> head(loadData(fout, "chrA", "chrB"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          5          2          19          44          10         -10
2          5          3          14         105          10         -10
3          6          1          65          19           5          10
4          6          2          24          90          -5           5
5          6          3          24         100          -5         -10
6          6          3          24          95          -5         -10
Warning message:
In value[[3L]](cond) : anchor definitions are reversed
> 
> # Loading the counts.
> data <- squareCounts(fout, param, width=50, filter=1)
> data
class: InteractionSet 
dim: 10 1 
metadata(2): param width
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> 
> margins <- marginCounts(fout, param, width=50)
> margins
class: RangedSummarizedExperiment 
dim: 6 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(1): nfrags
colnames: NULL
colData names(1): totals
> totalCounts(fout, param)
[1] 17
> 
> regions <- GRanges("chrA", IRanges(c(1, 100, 150), c(20, 140, 160)))
> connectCounts(fout, param, regions=regions, filter=1L)
class: InteractionSet 
dim: 2 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 3
> 
> # Checking some values.
> head(getArea(data))
[1] 2208 2304 2208 2208 3312 3174
> head(pairdist(data))
[1]  47 140  93  47  NA  NA
> 
> anchors(data, type="first")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA     49-94      * |         1
   [2]     chrA   141-188      * |         1
   [3]     chrA   141-188      * |         1
   [4]     chrA   141-188      * |         1
   [5]     chrB      1-69      * |         2
   [6]     chrB      1-69      * |         2
   [7]     chrB      1-69      * |         2
   [8]     chrB      1-69      * |         2
   [9]     chrB     70-92      * |         1
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> anchors(data, type="second")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA      1-48      * |         1
   [2]     chrA      1-48      * |         1
   [3]     chrA     49-94      * |         1
   [4]     chrA    95-140      * |         1
   [5]     chrA      1-48      * |         1
   [6]     chrA     49-94      * |         1
   [7]     chrA    95-140      * |         1
   [8]     chrB      1-69      * |         2
   [9]     chrB      1-69      * |         2
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> assay(data)
      [,1]
 [1,]    3
 [2,]    1
 [3,]    2
 [4,]    1
 [5,]    1
 [6,]    2
 [7,]    3
 [8,]    1
 [9,]    2
[10,]    1
> regions(data)
GRanges object with 6 ranges and 1 metadata column:
      seqnames    ranges strand |    nfrags
         <Rle> <IRanges>  <Rle> | <integer>
  [1]     chrA      1-48      * |         1
  [2]     chrA     49-94      * |         1
  [3]     chrA    95-140      * |         1
  [4]     chrA   141-188      * |         1
  [5]     chrB      1-69      * |         2
  [6]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> 
> data$totals
[1] 17
> colData(data)
DataFrame with 1 row and 1 column
     totals
  <integer>
1        17
> metadata(data)
$param
Genome contains 7 restriction fragments across 2 chromosomes
No discard regions are specified
No limits on chromosomes for read extraction
No cap on the read pairs per pair of restriction fragments

$width
[1] 50

> 
> asDGEList(data)
An object of class "DGEList"
$counts
   Sample1
1        3
2        1
3        2
4        1
5        1
6        2
7        3
8        1
9        2
10       1

$samples
        group lib.size norm.factors
Sample1     1       17            1

> asDGEList(data, lib.size=20)$samples
        group lib.size norm.factors
Sample1     1       20            1
> asDGEList(data, norm.factors=2, group="a")$samples
        group lib.size norm.factors
Sample1     a       17            2
Warning message:
In (function (counts = matrix(0, 0, 0), lib.size = colSums(counts),  :
  norm factors don't multiply to 1
> 
> # Playing around with some bin counts.
> stuff <- correctedContact(data)
> head(stuff$truth)
[1] 1.517032e+04 6.123523e-01 6.123523e-01 8.162749e-01 2.041633e-01
[6] 2.041633e-01
> 
> data.large <- squareCounts(fout, param, width=100, filter=1)
> boxed <- boxPairs(larger=data.large, smaller=data)
> head(boxed$indices$larger)
[1] 1 2 3 4 5 6
> head(boxed$indices$smaller)
[1] 1 2 2 3 4 4
> 
> head(enrichedPairs(data))
class: InteractionSet 
dim: 6 1 
metadata(2): param width
assays(5): counts quadrant vertical horizontal surrounding
rownames: NULL
rowData names(4): N.quadrant N.vertical N.horizontal N.surrounding
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> head(clusterPairs(data, tol=10)$indices[[1]])
[1] 1 2 2 2 3 3
> 
> # End.
> 
> unlink(fout)
> 
> proc.time()
   user  system elapsed 
  11.95    0.56   12.50 

diffHic.Rcheck/tests_i386/testthat.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(testthat)
> library(diffHic)
Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

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

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

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

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

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

    I, expand.grid, unname

Loading required package: IRanges

Attaching package: 'IRanges'

The following object is masked from 'package:grDevices':

    windows

Loading required package: GenomeInfoDb
Loading required package: InteractionSet
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats

Attaching package: 'MatrixGenerics'

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

    colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
    colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
    colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
    colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
    colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
    colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
    colWeightedMeans, colWeightedMedians, colWeightedSds,
    colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
    rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
    rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
    rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
    rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
    rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
    rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
    rowWeightedSds, rowWeightedVars

Loading required package: Biobase
Welcome to Bioconductor

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


Attaching package: 'Biobase'

The following object is masked from 'package:MatrixGenerics':

    rowMedians

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

    anyMissing, rowMedians

> 
> test_check("diffHic")
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 427 ]
> 
> proc.time()
   user  system elapsed 
  58.78    2.03   60.82 

diffHic.Rcheck/tests_x64/testthat.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(testthat)
> library(diffHic)
Loading required package: GenomicRanges
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

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

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

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

Loading required package: S4Vectors

Attaching package: 'S4Vectors'

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

    I, expand.grid, unname

Loading required package: IRanges

Attaching package: 'IRanges'

The following object is masked from 'package:grDevices':

    windows

Loading required package: GenomeInfoDb
Loading required package: InteractionSet
Loading required package: SummarizedExperiment
Loading required package: MatrixGenerics
Loading required package: matrixStats

Attaching package: 'MatrixGenerics'

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

    colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse,
    colCounts, colCummaxs, colCummins, colCumprods, colCumsums,
    colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs,
    colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats,
    colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds,
    colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads,
    colWeightedMeans, colWeightedMedians, colWeightedSds,
    colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet,
    rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods,
    rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps,
    rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins,
    rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks,
    rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars,
    rowWeightedMads, rowWeightedMeans, rowWeightedMedians,
    rowWeightedSds, rowWeightedVars

Loading required package: Biobase
Welcome to Bioconductor

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


Attaching package: 'Biobase'

The following object is masked from 'package:MatrixGenerics':

    rowMedians

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

    anyMissing, rowMedians

> 
> test_check("diffHic")
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 427 ]
> 
> proc.time()
   user  system elapsed 
  55.87    1.37   57.23 

diffHic.Rcheck/tests_i386/test-basic.Rout.save


R version 3.5.0 Patched (2018-04-30 r74679) -- "Joy in Playing"
Copyright (C) 2018 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.

  Natural language support but running in an English locale

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.

> # These are just placeholders for the real things in inst/tests.
> 
> suppressWarnings(suppressPackageStartupMessages(require(diffHic)))
> 
> hic.file <- system.file("exdata", "hic_sort.bam", package="diffHic")
> cuts <- readRDS(system.file("exdata", "cuts.rds", package="diffHic"))
> param <- pairParam(fragments=cuts)
> 
> # Setting up the parameters
> fout <- "output.h5"
> preparePairs(hic.file, param, file=fout)
$pairs
   total   marked filtered   mapped 
      32        7        3       22 

$same.id
   dangling self.circle 
          4           1 

$singles
[1] 2

$chimeras
  total  mapped   multi invalid 
     12       8       7       5 

> head(getPairData(fout, param))
  length orientation insert
1     40           1     40
2     80           1     80
3     60           2     54
4     40           3    160
5     20           1     66
6     80           0    114
> 
> loadChromos(fout)
  anchor1 anchor2
1    chrA    chrA
2    chrB    chrA
3    chrB    chrB
> head(loadData(fout, "chrA", "chrA"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          2          1          49          14          -5          10
2          2          1          79           9         -10          10
3          2          1          65          21          10         -10
4          4          1         156           6         -10         -10
5          4          2         141          80          -5          10
6          4          2         154          50          10          10
> head(loadData(fout, "chrA", "chrB"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          5          2          19          44          10         -10
2          5          3          14         105          10         -10
3          6          1          65          19           5          10
4          6          2          24          90          -5           5
5          6          3          24         100          -5         -10
6          6          3          24          95          -5         -10
Warning message:
In value[[3L]](cond) : anchor definitions are reversed
> 
> # Loading the counts.
> data <- squareCounts(fout, param, width=50, filter=1)
> data
class: InteractionSet 
dim: 10 1 
metadata(2): param width
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> 
> margins <- marginCounts(fout, param, width=50)
> margins
class: RangedSummarizedExperiment 
dim: 6 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(1): nfrags
colnames: NULL
colData names(1): totals
> totalCounts(fout, param)
[1] 17
> 
> regions <- GRanges("chrA", IRanges(c(1, 100, 150), c(20, 140, 160)))
> connectCounts(fout, param, regions=regions, filter=1L)
class: InteractionSet 
dim: 2 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 3
> 
> # Checking some values.
> head(getArea(data))
[1] 2208 2304 2208 2208 3312 3174
> head(pairdist(data))
[1]  47 140  93  47  NA  NA
> 
> anchors(data, type="first")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA     49-94      * |         1
   [2]     chrA   141-188      * |         1
   [3]     chrA   141-188      * |         1
   [4]     chrA   141-188      * |         1
   [5]     chrB      1-69      * |         2
   [6]     chrB      1-69      * |         2
   [7]     chrB      1-69      * |         2
   [8]     chrB      1-69      * |         2
   [9]     chrB     70-92      * |         1
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> anchors(data, type="second")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA      1-48      * |         1
   [2]     chrA      1-48      * |         1
   [3]     chrA     49-94      * |         1
   [4]     chrA    95-140      * |         1
   [5]     chrA      1-48      * |         1
   [6]     chrA     49-94      * |         1
   [7]     chrA    95-140      * |         1
   [8]     chrB      1-69      * |         2
   [9]     chrB      1-69      * |         2
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> assay(data)
      [,1]
 [1,]    3
 [2,]    1
 [3,]    2
 [4,]    1
 [5,]    1
 [6,]    2
 [7,]    3
 [8,]    1
 [9,]    2
[10,]    1
> regions(data)
GRanges object with 6 ranges and 1 metadata column:
      seqnames    ranges strand |    nfrags
         <Rle> <IRanges>  <Rle> | <integer>
  [1]     chrA      1-48      * |         1
  [2]     chrA     49-94      * |         1
  [3]     chrA    95-140      * |         1
  [4]     chrA   141-188      * |         1
  [5]     chrB      1-69      * |         2
  [6]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> 
> data$totals
[1] 17
> colData(data)
DataFrame with 1 row and 1 column
     totals
  <integer>
1        17
> metadata(data)
$param
Genome contains 7 restriction fragments across 2 chromosomes
No discard regions are specified
No limits on chromosomes for read extraction
No cap on the read pairs per pair of restriction fragments

$width
[1] 50

> 
> asDGEList(data)
An object of class "DGEList"
$counts
   Sample1
1        3
2        1
3        2
4        1
5        1
6        2
7        3
8        1
9        2
10       1

$samples
        group lib.size norm.factors
Sample1     1       17            1

> asDGEList(data, lib.size=20)$samples
        group lib.size norm.factors
Sample1     1       20            1
> asDGEList(data, norm.factors=2, group="a")$samples
        group lib.size norm.factors
Sample1     a       17            2
> 
> # Playing around with some bin counts.
> stuff <- correctedContact(data)
> head(stuff$truth)
[1] 1.517032e+04 6.123523e-01 6.123523e-01 8.162749e-01 2.041633e-01
[6] 2.041633e-01
> 
> data.large <- squareCounts(fout, param, width=100, filter=1)
> boxed <- boxPairs(larger=data.large, smaller=data)
> head(boxed$indices$larger)
[1] 1 2 3 4 5 6
> head(boxed$indices$smaller)
[1] 1 2 2 3 4 4
> 
> head(enrichedPairs(data))
class: InteractionSet 
dim: 6 1 
metadata(2): param width
assays(5): counts quadrant vertical horizontal surrounding
rownames: NULL
rowData names(4): N.quadrant N.vertical N.horizontal N.surrounding
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> head(clusterPairs(data, tol=10)$indices[[1]])
[1] 1 2 2 2 3 3
> 
> # End.
> 
> unlink(fout)
> 
> proc.time()
   user  system elapsed 
  5.571   0.168   5.757 

diffHic.Rcheck/tests_x64/test-basic.Rout.save


R version 3.5.0 Patched (2018-04-30 r74679) -- "Joy in Playing"
Copyright (C) 2018 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.

  Natural language support but running in an English locale

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.

> # These are just placeholders for the real things in inst/tests.
> 
> suppressWarnings(suppressPackageStartupMessages(require(diffHic)))
> 
> hic.file <- system.file("exdata", "hic_sort.bam", package="diffHic")
> cuts <- readRDS(system.file("exdata", "cuts.rds", package="diffHic"))
> param <- pairParam(fragments=cuts)
> 
> # Setting up the parameters
> fout <- "output.h5"
> preparePairs(hic.file, param, file=fout)
$pairs
   total   marked filtered   mapped 
      32        7        3       22 

$same.id
   dangling self.circle 
          4           1 

$singles
[1] 2

$chimeras
  total  mapped   multi invalid 
     12       8       7       5 

> head(getPairData(fout, param))
  length orientation insert
1     40           1     40
2     80           1     80
3     60           2     54
4     40           3    160
5     20           1     66
6     80           0    114
> 
> loadChromos(fout)
  anchor1 anchor2
1    chrA    chrA
2    chrB    chrA
3    chrB    chrB
> head(loadData(fout, "chrA", "chrA"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          2          1          49          14          -5          10
2          2          1          79           9         -10          10
3          2          1          65          21          10         -10
4          4          1         156           6         -10         -10
5          4          2         141          80          -5          10
6          4          2         154          50          10          10
> head(loadData(fout, "chrA", "chrB"))
  anchor1.id anchor2.id anchor1.pos anchor2.pos anchor1.len anchor2.len
1          5          2          19          44          10         -10
2          5          3          14         105          10         -10
3          6          1          65          19           5          10
4          6          2          24          90          -5           5
5          6          3          24         100          -5         -10
6          6          3          24          95          -5         -10
Warning message:
In value[[3L]](cond) : anchor definitions are reversed
> 
> # Loading the counts.
> data <- squareCounts(fout, param, width=50, filter=1)
> data
class: InteractionSet 
dim: 10 1 
metadata(2): param width
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> 
> margins <- marginCounts(fout, param, width=50)
> margins
class: RangedSummarizedExperiment 
dim: 6 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(1): nfrags
colnames: NULL
colData names(1): totals
> totalCounts(fout, param)
[1] 17
> 
> regions <- GRanges("chrA", IRanges(c(1, 100, 150), c(20, 140, 160)))
> connectCounts(fout, param, regions=regions, filter=1L)
class: InteractionSet 
dim: 2 1 
metadata(1): param
assays(1): counts
rownames: NULL
rowData names(0):
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 3
> 
> # Checking some values.
> head(getArea(data))
[1] 2208 2304 2208 2208 3312 3174
> head(pairdist(data))
[1]  47 140  93  47  NA  NA
> 
> anchors(data, type="first")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA     49-94      * |         1
   [2]     chrA   141-188      * |         1
   [3]     chrA   141-188      * |         1
   [4]     chrA   141-188      * |         1
   [5]     chrB      1-69      * |         2
   [6]     chrB      1-69      * |         2
   [7]     chrB      1-69      * |         2
   [8]     chrB      1-69      * |         2
   [9]     chrB     70-92      * |         1
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> anchors(data, type="second")
GRanges object with 10 ranges and 1 metadata column:
       seqnames    ranges strand |    nfrags
          <Rle> <IRanges>  <Rle> | <integer>
   [1]     chrA      1-48      * |         1
   [2]     chrA      1-48      * |         1
   [3]     chrA     49-94      * |         1
   [4]     chrA    95-140      * |         1
   [5]     chrA      1-48      * |         1
   [6]     chrA     49-94      * |         1
   [7]     chrA    95-140      * |         1
   [8]     chrB      1-69      * |         2
   [9]     chrB      1-69      * |         2
  [10]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> assay(data)
      [,1]
 [1,]    3
 [2,]    1
 [3,]    2
 [4,]    1
 [5,]    1
 [6,]    2
 [7,]    3
 [8,]    1
 [9,]    2
[10,]    1
> regions(data)
GRanges object with 6 ranges and 1 metadata column:
      seqnames    ranges strand |    nfrags
         <Rle> <IRanges>  <Rle> | <integer>
  [1]     chrA      1-48      * |         1
  [2]     chrA     49-94      * |         1
  [3]     chrA    95-140      * |         1
  [4]     chrA   141-188      * |         1
  [5]     chrB      1-69      * |         2
  [6]     chrB     70-92      * |         1
  -------
  seqinfo: 2 sequences from an unspecified genome
> 
> data$totals
[1] 17
> colData(data)
DataFrame with 1 row and 1 column
     totals
  <integer>
1        17
> metadata(data)
$param
Genome contains 7 restriction fragments across 2 chromosomes
No discard regions are specified
No limits on chromosomes for read extraction
No cap on the read pairs per pair of restriction fragments

$width
[1] 50

> 
> asDGEList(data)
An object of class "DGEList"
$counts
   Sample1
1        3
2        1
3        2
4        1
5        1
6        2
7        3
8        1
9        2
10       1

$samples
        group lib.size norm.factors
Sample1     1       17            1

> asDGEList(data, lib.size=20)$samples
        group lib.size norm.factors
Sample1     1       20            1
> asDGEList(data, norm.factors=2, group="a")$samples
        group lib.size norm.factors
Sample1     a       17            2
> 
> # Playing around with some bin counts.
> stuff <- correctedContact(data)
> head(stuff$truth)
[1] 1.517032e+04 6.123523e-01 6.123523e-01 8.162749e-01 2.041633e-01
[6] 2.041633e-01
> 
> data.large <- squareCounts(fout, param, width=100, filter=1)
> boxed <- boxPairs(larger=data.large, smaller=data)
> head(boxed$indices$larger)
[1] 1 2 3 4 5 6
> head(boxed$indices$smaller)
[1] 1 2 2 3 4 4
> 
> head(enrichedPairs(data))
class: InteractionSet 
dim: 6 1 
metadata(2): param width
assays(5): counts quadrant vertical horizontal surrounding
rownames: NULL
rowData names(4): N.quadrant N.vertical N.horizontal N.surrounding
colnames: NULL
colData names(1): totals
type: ReverseStrictGInteractions
regions: 6
> head(clusterPairs(data, tol=10)$indices[[1]])
[1] 1 2 2 2 3 3
> 
> # End.
> 
> unlink(fout)
> 
> proc.time()
   user  system elapsed 
  5.571   0.168   5.757 

Example timings

diffHic.Rcheck/examples_i386/diffHic-Ex.timings

nameusersystemelapsed
DNaseHiC0.250.010.27
annotatePairs0.500.090.59
boxPairs0.810.130.94
clusterPairs1.110.251.36
compartmentalize0.720.080.80
connectCounts2.980.223.20
consolidatePairs0.630.000.63
correctedContact0.590.090.68
cutGenome7.670.197.86
diClusters2.860.002.86
diffHicUsersGuide000
domainDirections0.170.060.24
enrichedPairs0.550.000.54
extractPatch0.550.020.61
filterDiag0.120.060.19
filterPeaks0.270.000.27
filters0.310.000.31
getArea0.180.000.19
getPairData0.110.050.25
loadData0.100.120.27
marginCounts0.840.140.98
mergeCMs0.810.001.21
mergePairs0.320.300.65
neighborCounts0.200.090.30
normalizeCNV 9.84 0.2210.06
pairParam0.130.000.13
plotDI0.540.000.54
plotPlaid1.590.111.70
preparePairs0.190.190.38
prunePairs0.300.170.47
readMTX2IntSet0.360.000.35
savePairs0.080.000.08
squareCounts0.810.170.98
totalCounts0.660.280.94

diffHic.Rcheck/examples_x64/diffHic-Ex.timings

nameusersystemelapsed
DNaseHiC0.140.030.17
annotatePairs0.440.070.50
boxPairs1.030.001.38
clusterPairs1.320.001.33
compartmentalize0.930.000.92
connectCounts2.860.153.14
consolidatePairs0.610.000.61
correctedContact0.570.000.58
cutGenome7.440.167.60
diClusters3.020.023.04
diffHicUsersGuide000
domainDirections0.250.070.34
enrichedPairs0.730.000.75
extractPatch0.640.030.67
filterDiag0.160.050.20
filterPeaks0.340.000.35
filters0.330.000.33
getArea0.220.000.22
getPairData0.080.020.09
loadData0.060.090.17
marginCounts1.010.111.13
mergeCMs0.650.000.64
mergePairs0.200.130.39
neighborCounts0.330.010.46
normalizeCNV8.250.028.28
pairParam0.130.000.12
plotDI0.610.000.61
plotPlaid1.920.092.02
preparePairs0.250.170.42
prunePairs0.260.270.53
readMTX2IntSet0.410.030.44
savePairs0.050.030.08
squareCounts1.050.081.13
totalCounts0.610.080.68