hapmapsnp6 distributes a small sample of HapMap data
generated on the Affymetrix Genome-Wide Human SNP Array 6.0. It exists
so that other Bioconductor packages have a realistic dataset to
demonstrate on, and it is not meant for analysis in its own right.
Four resources are provided. Three are the raw CEL files for the
HapMap samples NA06985, NA06991 and NA06993. The fourth,
crlmmResult, is the genotype calling result obtained from
those three files.
As of version 1.55.1 the data is no longer shipped inside the package. It is deposited on Zenodo, under the DOI 10.5281/zenodo.23990454, and served through ExperimentHub.
The first call to any accessor downloads the resource and stores it in the local ExperimentHub cache. Later calls read from that cache, so the download cost is paid once per machine.
The chunks below query ExperimentHub and therefore need network
access the first time they run. The resources are registered under the
identifiers EH10670 to EH10673. Once they are
in the local cache, the vignette builds without further downloads.
Earlier versions of this package shipped the object in
data/, so it was loaded with
data(crlmmResult). That call no longer works, because the
package ships no data directory. The accessor replaces it:
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## downloading 1 resources
## retrieving 1 resource
## loading from cache
## [1] "SnpSet"
## attr(,"package")
## [1] "Biobase"
Resource metadata can be inspected without downloading the object, which is useful in examples and tests that must not depend on the network:
## ExperimentHub with 1 record
## # snapshotDate(): 2026-11-16
## # names(): EH10670
## # package(): hapmapsnp6
## # $dataprovider: HapMap / Affymetrix
## # $species: Homo sapiens
## # $rdataclass: SnpSet
## # $rdatadateadded: 2026-11-06
## # $title: crlmmResult
## # $description: Recurso crlmmResult do pacote hapmapsnp6, hospedado no Zenod...
## # $taxonomyid: 9606
## # $genome: hg18
## # $sourcetype: CEL
## # $sourceurl: https://www.coriell.org/1/NIGMS/Collections/HapMap-project
## # $sourcesize: NA
## # $tags: c("Bioconductor", "Genome", "HapMap", "SNPData")
## # retrieve record with 'object[["EH10670"]]'
celFiles() returns the paths of the three CEL files on
disk, named after the original files:
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## downloading 1 resources
## retrieving 1 resource
## loading from cache
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## downloading 1 resources
## retrieving 1 resource
## loading from cache
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## downloading 1 resources
## retrieving 1 resource
## loading from cache
## [1] "159e4ac1464d_10738" "159e1ee66ab1_10739" "159ec876828_10740"
Code written against earlier versions of this package located the
files with system.file("celFiles", package = "hapmapsnp6").
That call cannot work for files which are no longer installed with the
package. The closest equivalent returns a directory holding the three
files:
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## loading from cache
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## loading from cache
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## loading from cache
## [1] "NA06985_GW6_C.CEL" "NA06991_GW6_C.CEL" "NA06993_GW6_C.CEL"
All resources carried by this package can be listed through ExperimentHub:
## [1] "crlmmResult" "NA06985_GW6_C" "NA06991_GW6_C" "NA06993_GW6_C"
The origin of the data and the processing that produced
crlmmResult are documented in
inst/scripts/make-data.R. The International HapMap Project
invested considerable effort in generating these data; please cite it,
as recorded in inst/CITATION.
## To cite HapMap in publications use:
##
## The International HapMap Consortium. The International HapMap
## Project. Nature 426, 789-796 (2003). doi:10.1038/nature02168
##
## A BibTeX entry for LaTeX users is
##
## @Article{,
## title = {The International HapMap Project},
## author = {{The International HapMap Consortium}},
## journal = {Nature},
## year = {2003},
## volume = {426},
## number = {6968},
## pages = {789--796},
## doi = {10.1038/nature02168},
## }
##
## The International HapMap Project invested considerable effort in
## generating these data. Please cite it.
## R version 4.6.2 (2026-10-29)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 26.04.1 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.32.so; LAPACK version 3.12.0
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
## [9] LC_ADDRESS=C LC_TELEPHONE=C
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
##
## time zone: Etc/UTC
## tzcode source: system (glibc)
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] hapmapsnp6_1.55.1 Biobase_2.73.2 ExperimentHub_3.3.2
## [4] AnnotationHub_4.3.3 BiocFileCache_3.3.3 dbplyr_2.6.0
## [7] BiocGenerics_0.59.13 generics_0.1.4 BiocStyle_2.41.0
##
## loaded via a namespace (and not attached):
## [1] rappdirs_0.3.4 sass_0.4.10 BiocVersion_3.24.0
## [4] RSQLite_3.53.3 digest_0.6.39 magrittr_2.0.5
## [7] evaluate_1.0.5 fastmap_1.2.0 blob_1.3.0
## [10] jsonlite_2.0.0 AnnotationDbi_1.75.2 DBI_1.3.0
## [13] BiocManager_1.30.27 httr_1.4.9 purrr_1.2.2
## [16] Biostrings_2.81.9 httr2_1.3.0 jquerylib_0.1.4
## [19] cli_3.6.6 crayon_1.5.3 rlang_1.3.0
## [22] XVector_0.53.0 bit64_4.8.6 withr_3.0.3
## [25] cachem_1.1.0 yaml_2.3.12 BiocBaseUtils_1.15.1
## [28] otel_0.3.0 tools_4.6.2 memoise_2.0.1
## [31] dplyr_1.2.1 filelock_1.0.3 curl_8.1.0
## [34] png_0.1-9 buildtools_1.0.0 vctrs_0.7.3
## [37] R6_2.6.1 stats4_4.6.2 lifecycle_1.0.5
## [40] Seqinfo_1.3.2 KEGGREST_1.53.6 S4Vectors_0.51.10
## [43] IRanges_2.47.5 bit_4.6.0 pkgconfig_2.0.3
## [46] pillar_1.11.1 bslib_0.12.0 glue_1.8.1
## [49] xfun_0.62 tibble_3.3.1 tidyselect_1.2.1
## [52] sys_3.4.3 knitr_1.52 htmltools_0.5.9
## [55] rmarkdown_2.32 maketools_1.3.2 compiler_4.6.2