I used getSegmentReadCountsFromBAM() to get a GRanges object from a list of tumor-normal bam files Then I used referencecn.mops() which triggered the following (french) error :
NOTE: The default parameters are adjusted for "tumor-vs-normal"!
Normalizing...
Starting local modeling, please be patient...
Reference sequence: 1
Starting segmentation algorithm...
Using "DNAcopy" for segmentation.
Erreur dans nperm * alpha : argument non numérique pour un opérateur binaire
> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C
[3] LC_TIME=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8
[5] LC_MONETARY=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8
[7] LC_PAPER=fr_FR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats4 parallel stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] DNAcopy_1.40.0 ggplot2_2.0.0 mclust_5.1
[4] cit.supervised_1.0.0 qvalue_1.43.0 actuar_1.1-10
[7] limma_3.22.7 survival_2.38-3 cit.utils_1.0.0
[10] MASS_7.3-45 rgl_0.95.1441 cn.mops_1.12.0
[13] GenomicRanges_1.18.4 GenomeInfoDb_1.2.5 IRanges_2.0.1
[16] S4Vectors_0.4.0 Biobase_2.26.0 BiocGenerics_0.12.1
[19] BiocInstaller_1.16.5
loaded via a namespace (and not attached):
[1] Biostrings_2.34.1 bitops_1.0-6 colorspace_1.2-6 grid_3.1.2
[5] gtable_0.1.2 munsell_0.4.2 plyr_1.8.3 Rcpp_0.12.3
[9] Rsamtools_1.18.3 scales_0.3.0 snow_0.4-1 splines_3.1.2
[13] tools_3.1.2 XVector_0.6.0 zlibbioc_1.12.0