Back to Multiple platform build/check report for BioC 3.6 |
|
This page was generated on 2018-04-12 13:26:12 -0400 (Thu, 12 Apr 2018).
Package 365/1472 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||
diffHic 1.10.0 Aaron Lun
| malbec1 | Linux (Ubuntu 16.04.1 LTS) / x86_64 | NotNeeded | OK | OK | |||||||
tokay1 | Windows Server 2012 R2 Standard / x64 | NotNeeded | OK | [ WARNINGS ] | OK | |||||||
veracruz1 | OS X 10.11.6 El Capitan / x86_64 | NotNeeded | OK | OK | OK |
Package: diffHic |
Version: 1.10.0 |
Command: rm -rf diffHic.buildbin-libdir diffHic.Rcheck && mkdir diffHic.buildbin-libdir diffHic.Rcheck && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD INSTALL --build --merge-multiarch --library=diffHic.buildbin-libdir diffHic_1.10.0.tar.gz >diffHic.Rcheck\00install.out 2>&1 && cp diffHic.Rcheck\00install.out diffHic-install.out && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD check --library=diffHic.buildbin-libdir --install="check:diffHic-install.out" --force-multiarch --no-vignettes --timings diffHic_1.10.0.tar.gz |
StartedAt: 2018-04-11 23:31:57 -0400 (Wed, 11 Apr 2018) |
EndedAt: 2018-04-11 23:41:53 -0400 (Wed, 11 Apr 2018) |
EllapsedTime: 596.3 seconds |
RetCode: 0 |
Status: WARNINGS |
CheckDir: diffHic.Rcheck |
Warnings: 1 |
############################################################################## ############################################################################## ### ### Running command: ### ### rm -rf diffHic.buildbin-libdir diffHic.Rcheck && mkdir diffHic.buildbin-libdir diffHic.Rcheck && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD INSTALL --build --merge-multiarch --library=diffHic.buildbin-libdir diffHic_1.10.0.tar.gz >diffHic.Rcheck\00install.out 2>&1 && cp diffHic.Rcheck\00install.out diffHic-install.out && C:\Users\biocbuild\bbs-3.6-bioc\R\bin\R.exe CMD check --library=diffHic.buildbin-libdir --install="check:diffHic-install.out" --force-multiarch --no-vignettes --timings diffHic_1.10.0.tar.gz ### ############################################################################## ############################################################################## * using log directory 'C:/Users/biocbuild/bbs-3.6-bioc/meat/diffHic.Rcheck' * using R version 3.4.4 (2018-03-15) * 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.10.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 'diffHic' can be installed ... WARNING Found the following significant warnings: Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/connectCounts.Rd:85: missing file link 'ReverseStrictGInteractions-class' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/filterDiag.Rd:43: missing file link 'pairdist' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/mergeCMs.Rd:13: missing file link 'deflate' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/mergeCMs.Rd:24: missing file link 'deflate' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/mergeCMs.Rd:48: missing file link 'deflate' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/squareCounts.Rd:104: missing file link 'ReverseStrictGInteractions-class' See 'C:/Users/biocbuild/bbs-3.6-bioc/meat/diffHic.Rcheck/00install.out' for details. * checking installed package size ... NOTE installed size is 5.5Mb sub-directories of 1Mb or more: doc 1.3Mb libs 2.9Mb * 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 ** checking loading without being on the library search path ... 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 loading without being on the library search path ... 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 ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... 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.6-bioc/meat/diffHic.buildbin-libdir/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) 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 or elapsed time > 5s user system elapsed normalizeCNV 12.68 0.12 12.81 cutGenome 6.05 0.13 9.06 ** running examples for arch 'x64' ... OK Examples with CPU or elapsed time > 5s user system elapsed normalizeCNV 11.98 0.03 12.13 cutGenome 7.65 0.20 7.86 * 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' ... OK OK ** running tests for arch 'x64' ... Running 'test-basic.R' Comparing 'test-basic.Rout' to 'test-basic.Rout.save' ... OK 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 WARNING, 2 NOTEs See 'C:/Users/biocbuild/bbs-3.6-bioc/meat/diffHic.Rcheck/00check.log' for details.
diffHic.Rcheck/00install.out
install for i386 * installing *source* package 'diffHic' ... ** libs C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c binner.cpp -o binner.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c check_input.cpp -o check_input.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c cluster_2d.cpp -o cluster_2d.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c count_background.cpp -o count_background.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c count_connect.cpp -o count_connect.o count_connect.cpp: In function 'SEXPREC* count_reconnect(SEXP, SEXP)': count_connect.cpp:260:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t odex=0; odex < ncombos; ++odex) { ^ C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -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 between signed and unsigned integer expressions [-Wsign-compare] for (size_t vecdex=0; vecdex<ncombos; ++vecdex) { ^ C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c directionality.cpp -o directionality.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c init.cpp -o init.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c iterative_correction.cpp -o iterative_correction.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c neighbors.cpp -o neighbors.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c pair_stats.cpp -o pair_stats.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c quadrant_bg.cpp -o quadrant_bg.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c report_hic_pairs.cpp -o report_hic_pairs.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c trended_filter.cpp -o trended_filter.o C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c utils.cpp -o utils.o C:/Rtools/mingw_32/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 -LC:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/lib/i386 -lhts -lz -pthread -lws2_32 -LC:/local323/lib/i386 -LC:/local323/lib -LC:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/bin/i386 -lR installing to C:/Users/biocbuild/bbs-3.6-bioc/meat/diffHic.buildbin-libdir/diffHic/libs/i386 ** R ** inst ** preparing 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 Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/connectCounts.Rd:85: missing file link 'ReverseStrictGInteractions-class' consolidatePairs html correctedContact html cutGenome html diClusters html diffHicUsersGuide html domainDirections html enrichedPairs html extractPatch html filterDiag html Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/filterDiag.Rd:43: missing file link 'pairdist' filterPeaks html filters html getArea html getPairData html loadData html marginCounts html mergeCMs html Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/mergeCMs.Rd:13: missing file link 'deflate' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/mergeCMs.Rd:24: missing file link 'deflate' Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/mergeCMs.Rd:48: missing file link 'deflate' mergePairs html neighborCounts html normalizeCNV html pairParam html plotDI html plotPlaid html preparePairs html prunePairs html savePairs html squareCounts html Rd warning: C:/Users/biocbuild/bbs-3.6-bioc/tmpdir/RtmpI3dPOJ/R.INSTALL1cd87b593f13/diffHic/man/squareCounts.Rd:104: missing file link 'ReverseStrictGInteractions-class' totalCounts html ** building package indices ** installing vignettes ** testing if installed package can be loaded In R CMD INSTALL install for x64 * installing *source* package 'diffHic' ... ** libs C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c binner.cpp -o binner.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c check_input.cpp -o check_input.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c cluster_2d.cpp -o cluster_2d.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c count_background.cpp -o count_background.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c count_connect.cpp -o count_connect.o count_connect.cpp: In function 'SEXPREC* count_reconnect(SEXP, SEXP)': count_connect.cpp:260:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t odex=0; odex < ncombos; ++odex) { ^ C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -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 between signed and unsigned integer expressions [-Wsign-compare] for (size_t vecdex=0; vecdex<ncombos; ++vecdex) { ^ C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c directionality.cpp -o directionality.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c init.cpp -o init.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c iterative_correction.cpp -o iterative_correction.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c neighbors.cpp -o neighbors.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c pair_stats.cpp -o pair_stats.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c quadrant_bg.cpp -o quadrant_bg.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c report_hic_pairs.cpp -o report_hic_pairs.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c trended_filter.cpp -o trended_filter.o C:/Rtools/mingw_64/bin/g++ -std=gnu++11 -I"C:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/include" -DNDEBUG -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/zlibbioc/include" -I"C:/Users/biocbuild/bbs-3.6-bioc/R/library/Rcpp/include" -I"C:/local323/include" -O2 -Wall -mtune=generic -c utils.cpp -o utils.o C:/Rtools/mingw_64/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 -LC:/Users/biocbuild/bbs-3.6-bioc/R/library/Rhtslib/lib/x64 -lhts -lz -pthread -lws2_32 -LC:/local323/lib/x64 -LC:/local323/lib -LC:/Users/BIOCBU˜1/BBS-3˜1.6-B/R/bin/x64 -lR installing to C:/Users/biocbuild/bbs-3.6-bioc/meat/diffHic.buildbin-libdir/diffHic/libs/x64 ** testing if installed package can be loaded * MD5 sums packaged installation of 'diffHic' as diffHic_1.10.0.zip * DONE (diffHic) In R CMD INSTALL In R CMD INSTALL
diffHic.Rcheck/tests_i386/test-basic.Rout.save R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin15.6.0 (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 > > # Simple normalization with dummy data. > set.seed(3423746) > npts <- 100 > npairs <- 5000 > nlibs <- 4 > anchors <- sample(npts, npairs, replace=TRUE) > targets <- sample(npts, npairs, replace=TRUE) > dummy <- InteractionSet(matrix(as.integer(rpois(npairs*nlibs, runif(npairs, 10, 100))), nrow=npairs), + colData=DataFrame(totals=runif(nlibs, 1e6, 2e6)), + GInteractions(anchor1=anchors, anchor2=targets, regions=GRanges("chrA", IRanges(1:npts, 1:npts)), mode="reverse")) > > normOffsets(dummy, se.out=FALSE) [1] 1.0797833 0.8315381 0.9929250 1.1216692 > normOffsets(dummy, logratioTrim=0, se.out=FALSE) [1] 1.0811625 0.8302084 0.9910453 1.1241607 > normOffsets(dummy, sumTrim=0.2, se.out=FALSE) [1] 1.0809185 0.8315821 0.9932535 1.1200614 > head(normOffsets(dummy, type="loess", se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.001441205 0.0009288925 0.004926866 -0.004414553 [2,] 0.005400642 0.0041595535 -0.006896159 -0.002664036 [3,] 0.003115172 -0.0016344146 0.001783304 -0.003264061 [4,] 0.005334705 0.0035367018 -0.005104467 -0.003766940 [5,] -0.003505626 0.0163064598 -0.001889796 -0.010911038 [6,] 0.004070281 0.0090487722 -0.008279823 -0.004839230 > head(normOffsets(dummy, type="loess", span=0.5, se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.0024209802 0.0006743114 0.003720243 -0.0019735742 [2,] 0.0063348094 0.0041435451 -0.006281532 -0.0041968230 [3,] -0.0009160654 -0.0004010371 0.002050126 -0.0007330237 [4,] 0.0067668226 0.0036523870 -0.005981149 -0.0044380604 [5,] -0.0016877799 0.0152247018 -0.006733298 -0.0068036242 [6,] 0.0031066311 0.0085339697 -0.006865167 -0.0047754340 > > # 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 9.875 0.292 10.447 |
diffHic.Rcheck/tests_x64/test-basic.Rout.save R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin15.6.0 (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 > > # Simple normalization with dummy data. > set.seed(3423746) > npts <- 100 > npairs <- 5000 > nlibs <- 4 > anchors <- sample(npts, npairs, replace=TRUE) > targets <- sample(npts, npairs, replace=TRUE) > dummy <- InteractionSet(matrix(as.integer(rpois(npairs*nlibs, runif(npairs, 10, 100))), nrow=npairs), + colData=DataFrame(totals=runif(nlibs, 1e6, 2e6)), + GInteractions(anchor1=anchors, anchor2=targets, regions=GRanges("chrA", IRanges(1:npts, 1:npts)), mode="reverse")) > > normOffsets(dummy, se.out=FALSE) [1] 1.0797833 0.8315381 0.9929250 1.1216692 > normOffsets(dummy, logratioTrim=0, se.out=FALSE) [1] 1.0811625 0.8302084 0.9910453 1.1241607 > normOffsets(dummy, sumTrim=0.2, se.out=FALSE) [1] 1.0809185 0.8315821 0.9932535 1.1200614 > head(normOffsets(dummy, type="loess", se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.001441205 0.0009288925 0.004926866 -0.004414553 [2,] 0.005400642 0.0041595535 -0.006896159 -0.002664036 [3,] 0.003115172 -0.0016344146 0.001783304 -0.003264061 [4,] 0.005334705 0.0035367018 -0.005104467 -0.003766940 [5,] -0.003505626 0.0163064598 -0.001889796 -0.010911038 [6,] 0.004070281 0.0090487722 -0.008279823 -0.004839230 > head(normOffsets(dummy, type="loess", span=0.5, se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.0024209802 0.0006743114 0.003720243 -0.0019735742 [2,] 0.0063348094 0.0041435451 -0.006281532 -0.0041968230 [3,] -0.0009160654 -0.0004010371 0.002050126 -0.0007330237 [4,] 0.0067668226 0.0036523870 -0.005981149 -0.0044380604 [5,] -0.0016877799 0.0152247018 -0.006733298 -0.0068036242 [6,] 0.0031066311 0.0085339697 -0.006865167 -0.0047754340 > > # 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 9.875 0.292 10.447 |
diffHic.Rcheck/tests_i386/test-basic.Rout R version 3.4.4 (2018-03-15) -- "Someone to Lean On" Copyright (C) 2018 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 > > # Simple normalization with dummy data. > set.seed(3423746) > npts <- 100 > npairs <- 5000 > nlibs <- 4 > anchors <- sample(npts, npairs, replace=TRUE) > targets <- sample(npts, npairs, replace=TRUE) > dummy <- InteractionSet(matrix(as.integer(rpois(npairs*nlibs, runif(npairs, 10, 100))), nrow=npairs), + colData=DataFrame(totals=runif(nlibs, 1e6, 2e6)), + GInteractions(anchor1=anchors, anchor2=targets, regions=GRanges("chrA", IRanges(1:npts, 1:npts)), mode="reverse")) > > normOffsets(dummy, se.out=FALSE) [1] 1.0797833 0.8315381 0.9929250 1.1216692 > normOffsets(dummy, logratioTrim=0, se.out=FALSE) [1] 1.0811625 0.8302084 0.9910453 1.1241607 > normOffsets(dummy, sumTrim=0.2, se.out=FALSE) [1] 1.0809185 0.8315821 0.9932535 1.1200614 > head(normOffsets(dummy, type="loess", se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.001441205 0.0009288925 0.004926866 -0.004414553 [2,] 0.005400642 0.0041595535 -0.006896159 -0.002664036 [3,] 0.003115172 -0.0016344146 0.001783304 -0.003264061 [4,] 0.005334705 0.0035367018 -0.005104467 -0.003766940 [5,] -0.003505626 0.0163064598 -0.001889796 -0.010911038 [6,] 0.004070281 0.0090487722 -0.008279823 -0.004839230 > head(normOffsets(dummy, type="loess", span=0.5, se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.0024209802 0.0006743114 0.003720243 -0.0019735742 [2,] 0.0063348094 0.0041435451 -0.006281532 -0.0041968230 [3,] -0.0009160654 -0.0004010371 0.002050126 -0.0007330237 [4,] 0.0067668226 0.0036523870 -0.005981149 -0.0044380604 [5,] -0.0016877799 0.0152247018 -0.006733298 -0.0068036242 [6,] 0.0031066311 0.0085339697 -0.006865167 -0.0047754340 > > # 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.60 0.35 11.95 |
|
diffHic.Rcheck/tests_x64/test-basic.Rout R version 3.4.4 (2018-03-15) -- "Someone to Lean On" Copyright (C) 2018 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 > > # Simple normalization with dummy data. > set.seed(3423746) > npts <- 100 > npairs <- 5000 > nlibs <- 4 > anchors <- sample(npts, npairs, replace=TRUE) > targets <- sample(npts, npairs, replace=TRUE) > dummy <- InteractionSet(matrix(as.integer(rpois(npairs*nlibs, runif(npairs, 10, 100))), nrow=npairs), + colData=DataFrame(totals=runif(nlibs, 1e6, 2e6)), + GInteractions(anchor1=anchors, anchor2=targets, regions=GRanges("chrA", IRanges(1:npts, 1:npts)), mode="reverse")) > > normOffsets(dummy, se.out=FALSE) [1] 1.0797833 0.8315381 0.9929250 1.1216692 > normOffsets(dummy, logratioTrim=0, se.out=FALSE) [1] 1.0811625 0.8302084 0.9910453 1.1241607 > normOffsets(dummy, sumTrim=0.2, se.out=FALSE) [1] 1.0809185 0.8315821 0.9932535 1.1200614 > head(normOffsets(dummy, type="loess", se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.001441205 0.0009288925 0.004926866 -0.004414553 [2,] 0.005400642 0.0041595535 -0.006896159 -0.002664036 [3,] 0.003115172 -0.0016344146 0.001783304 -0.003264061 [4,] 0.005334705 0.0035367018 -0.005104467 -0.003766940 [5,] -0.003505626 0.0163064598 -0.001889796 -0.010911038 [6,] 0.004070281 0.0090487722 -0.008279823 -0.004839230 > head(normOffsets(dummy, type="loess", span=0.5, se.out=FALSE)) [,1] [,2] [,3] [,4] [1,] -0.0024209802 0.0006743114 0.003720243 -0.0019735742 [2,] 0.0063348094 0.0041435451 -0.006281532 -0.0041968230 [3,] -0.0009160654 -0.0004010371 0.002050126 -0.0007330237 [4,] 0.0067668226 0.0036523870 -0.005981149 -0.0044380604 [5,] -0.0016877799 0.0152247018 -0.006733298 -0.0068036242 [6,] 0.0031066311 0.0085339697 -0.006865167 -0.0047754340 > > # 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 12.45 0.37 12.81 |
diffHic.Rcheck/examples_i386/diffHic-Ex.timings
|
diffHic.Rcheck/examples_x64/diffHic-Ex.timings
|