Contents

1 What this package provides

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.

2 Where the data lives

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.

3 Accessing the genotype calls

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:

library(hapmapsnp6)
crlmmResult <- crlmmResult()
## see ?hapmapsnp6 and browseVignettes('hapmapsnp6') for documentation
## downloading 1 resources
## retrieving 1 resource
## loading from cache
class(crlmmResult)
## [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:

crlmmResult(metadata = TRUE)
## 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"]]'

4 Accessing the CEL files

celFiles() returns the paths of the three CEL files on disk, named after the original files:

cels <- celFiles()
## 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
basename(cels)
## [1] "b206e3f49b3e7_10738" "b206e63859a17_10739" "b206e3deaab58_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:

dir <- celFiles(asDir = TRUE)
## 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
list.files(dir)
## [1] "NA06985_GW6_C.CEL" "NA06991_GW6_C.CEL" "NA06993_GW6_C.CEL"

5 Listing every resource

All resources carried by this package can be listed through ExperimentHub:

library(ExperimentHub)
listResources(ExperimentHub(), "hapmapsnp6")
## [1] "crlmmResult"   "NA06985_GW6_C" "NA06991_GW6_C" "NA06993_GW6_C"

6 Provenance and citation

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.

citation("hapmapsnp6")
## 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.

7 Session information

sessionInfo()
## R version 4.6.1 (2026-06-24)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 24.04.5 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.24-bioc/R/lib/libRblas.so 
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0  LAPACK version 3.12.0
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_GB              LC_COLLATE=C              
##  [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: America/New_York
## 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       bookdown_0.48        fastmap_1.2.0       
## [10] blob_1.3.0           jsonlite_2.0.0       AnnotationDbi_1.75.2
## [13] DBI_1.3.0            BiocManager_1.30.27  httr_1.4.9          
## [16] purrr_1.2.2          Biostrings_2.81.9    httr2_1.3.0         
## [19] jquerylib_0.1.4      cli_3.6.6            crayon_1.5.3        
## [22] rlang_1.3.0          XVector_0.53.0       bit64_4.8.6         
## [25] withr_3.0.3          cachem_1.1.0         yaml_2.3.12         
## [28] BiocBaseUtils_1.15.1 otel_0.3.0           tools_4.6.1         
## [31] memoise_2.0.1        dplyr_1.2.1          filelock_1.0.3      
## [34] curl_8.1.0           png_0.1-9            vctrs_0.7.3         
## [37] R6_2.6.1             stats4_4.6.1         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] knitr_1.52           htmltools_0.5.9      rmarkdown_2.32      
## [55] compiler_4.6.1