-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with preprocessIllumina #258
Comments
Please provide a reproducible example (as text and not as a screenshot). suppressPackageStartupMessages(library(minfi))
suppressPackageStartupMessages(library(minfiData))
preprocessIllumina(RGsetEx)
#> class: MethylSet
#> dim: 485512 6
#> metadata(0):
#> assays(2): Meth Unmeth
#> rownames(485512): cg00050873 cg00212031 ... ch.22.47579720R
#> ch.22.48274842R
#> rowData names(0):
#> colnames(6): 5723646052_R02C02 5723646052_R04C01 ... 5723646053_R05C02
#> 5723646053_R06C02
#> colData names(13): Sample_Name Sample_Well ... Basename filenames
#> Annotation
#> array: IlluminaHumanMethylation450k
#> annotation: ilmn12.hg19
#> Preprocessing
#> Method: Illumina, bg.correct = TRUE, normalize = controls, reference = 1
#> minfi version: 1.49.0
#> Manifest version: 0.4.0 Please also provide the output of BiocManager::valid()
#> 'getOption("repos")' replaces Bioconductor standard repositories, see
#> 'help("repositories", package = "BiocManager")' for details.
#> Replacement repositories:
#> CRAN: https://cran.rstudio.com/
#> [1] TRUE
sessionInfo()
#> R Under development (unstable) (2023-10-28 r85429)
#> Platform: aarch64-apple-darwin20
#> Running under: macOS Ventura 13.6.1
#>
#> Matrix products: default
#> BLAS: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.0.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
#>
#> locale:
#> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
#>
#> time zone: Australia/Melbourne
#> tzcode source: internal
#>
#> attached base packages:
#> [1] parallel stats4 stats graphics grDevices utils datasets
#> [8] methods base
#>
#> other attached packages:
#> [1] minfiData_0.49.0
#> [2] IlluminaHumanMethylation450kanno.ilmn12.hg19_0.6.1
#> [3] IlluminaHumanMethylation450kmanifest_0.4.0
#> [4] minfi_1.49.0
#> [5] bumphunter_1.45.0
#> [6] locfit_1.5-9.8
#> [7] iterators_1.0.14
#> [8] foreach_1.5.2
#> [9] Biostrings_2.71.1
#> [10] XVector_0.43.0
#> [11] SummarizedExperiment_1.33.1
#> [12] Biobase_2.63.0
#> [13] MatrixGenerics_1.15.0
#> [14] matrixStats_1.2.0
#> [15] GenomicRanges_1.55.1
#> [16] GenomeInfoDb_1.39.1
#> [17] IRanges_2.37.0
#> [18] S4Vectors_0.41.2
#> [19] BiocGenerics_0.49.1
#>
#> loaded via a namespace (and not attached):
#> [1] RColorBrewer_1.1-3 rstudioapi_0.15.0
#> [3] magrittr_2.0.3 GenomicFeatures_1.55.1
#> [5] rmarkdown_2.25 fs_1.6.3
#> [7] BiocIO_1.13.0 zlibbioc_1.49.0
#> [9] vctrs_0.6.5 multtest_2.59.0
#> [11] memoise_2.0.1 Rsamtools_2.19.2
#> [13] DelayedMatrixStats_1.25.1 RCurl_1.98-1.13
#> [15] askpass_1.2.0 htmltools_0.5.7
#> [17] S4Arrays_1.3.1 progress_1.2.3
#> [19] curl_5.2.0 Rhdf5lib_1.25.1
#> [21] SparseArray_1.3.1 rhdf5_2.47.1
#> [23] nor1mix_1.3-2 plyr_1.8.9
#> [25] cachem_1.0.8 GenomicAlignments_1.39.0
#> [27] lifecycle_1.0.4 pkgconfig_2.0.3
#> [29] Matrix_1.6-4 R6_2.5.1
#> [31] fastmap_1.1.1 GenomeInfoDbData_1.2.11
#> [33] digest_0.6.33 siggenes_1.77.0
#> [35] reshape_0.8.9 AnnotationDbi_1.65.2
#> [37] RSQLite_2.3.4 base64_2.0.1
#> [39] filelock_1.0.3 fansi_1.0.6
#> [41] httr_1.4.7 abind_1.4-5
#> [43] compiler_4.4.0 beanplot_1.3.1
#> [45] rngtools_1.5.2 bit64_4.0.5
#> [47] withr_2.5.2 BiocParallel_1.37.0
#> [49] DBI_1.1.3 HDF5Array_1.31.0
#> [51] biomaRt_2.59.0 MASS_7.3-60.1
#> [53] openssl_2.1.1 rappdirs_0.3.3
#> [55] DelayedArray_0.29.0 rjson_0.2.21
#> [57] tools_4.4.0 glue_1.6.2
#> [59] quadprog_1.5-8 restfulr_0.0.15
#> [61] nlme_3.1-164 rhdf5filters_1.15.1
#> [63] grid_4.4.0 generics_0.1.3
#> [65] tzdb_0.4.0 preprocessCore_1.65.0
#> [67] tidyr_1.3.0 data.table_1.14.10
#> [69] hms_1.1.3 xml2_1.3.6
#> [71] utf8_1.2.4 pillar_1.9.0
#> [73] stringr_1.5.1 limma_3.59.1
#> [75] genefilter_1.85.0 splines_4.4.0
#> [77] dplyr_1.1.4 BiocFileCache_2.11.1
#> [79] lattice_0.22-5 survival_3.5-7
#> [81] rtracklayer_1.63.0 bit_4.0.5
#> [83] GEOquery_2.71.0 annotate_1.81.0
#> [85] tidyselect_1.2.0 knitr_1.45
#> [87] xfun_0.41 scrime_1.3.5
#> [89] statmod_1.5.0 stringi_1.8.3
#> [91] yaml_2.3.8 evaluate_0.23
#> [93] codetools_0.2-19 tibble_3.2.1
#> [95] BiocManager_1.30.22 cli_3.6.2
#> [97] xtable_1.8-4 Rcpp_1.0.11
#> [99] dbplyr_2.4.0 png_0.1-8
#> [101] XML_3.99-0.16 readr_2.1.4
#> [103] blob_1.2.4 prettyunits_1.2.0
#> [105] mclust_6.0.1 doRNG_1.8.6
#> [107] reprex_2.0.2 sparseMatrixStats_1.15.0
#> [109] bitops_1.0-7 illuminaio_0.45.0
#> [111] purrr_1.0.2 crayon_1.5.2
#> [113] rlang_1.1.2 KEGGREST_1.43.0 |
I am also affected by this, but while using the function
A temporary workaround is to disable the I sorry for not being able to provide a minimal example as I dont have the sessionInfo:
|
Here a small examples how this error happens:
Results in:
Same for Interestingly specifically using
or
so I think maybe some Edit: the culprit is an outdated version of With the session info:
that is also part of this Docker container: https://hub.docker.com/layers/votti/hcy-minifi/v0.1.7/images/sha256-2677bd133d6f7fa8bc18252d636de5f83807871873df1d94e4e4d3602456c8bc?context=explore |
I actually managed to deal with the problem myself, turned out it was somehow related to the fact that I used my Linux distribution's package which itself was quite old (4.1.2. if I remember correctly, which was circa 2 years old). After adding an official PPA of r-project and upgrading everything it works properly, even though the packages versions themself didn't change. So sorry for the mayhem as I'm not even able to reproduce it anymore. |
Bioconductor package developers can only make changes to the release version (currently Bioconductor v3.18 with minfi v1.48.0 ) and devel version (currently Bioconductor 3.19 with minfi v1.49.0). If you downgrade matrixStats to v1.1.0 or earlier (e.g., using something like |
Hello,
after updating through BiocManager today, no matter what I tried I couldn't preprocess the data from rgSet. After looking into the traceback it looks like a problem with matrixStats but even downloading and using an old version of it, the issue persists. Traceback:
Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE.
I have also found the same problem with the getSex function after replacing the preprocess function with the one from wateRmelon package. I couldn't find any way to circumvent this but the recommendations to change useNames = useNames into something else and I can't do that myself as it's in the under-the-hood function.
Best and thank you in advance
The text was updated successfully, but these errors were encountered: