Skip to content

snpStats

Bioc current

SnpMatrix and XSnpMatrix classes and methods

v1.62.0 · Package record · software · GPL-3

Release Lineage

Entered 2.8 · Apr 14, 2011

Current · Requires R 4.6

1.0 In 31 of 49 releases 3.23

Description

Classes and statistical methods for large SNP association studies. This extends the earlier snpMatrix package, allowing for uncertainty in genotypes.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

177 47 exported

Complexity

11.4 avg / 124 max

Call network

177 nodes / 207 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

21,639

Files

145

Compiled share

55.5%

Has compiled src

Yes

Language breakdown

R 3,664 (16.9%)C/C++/src 12,020 (55.5%)Docs 3,741 (17.3%)Vignettes 2,214 (10.2%)

API

Exported functions

47

Internal functions

6

Testing

Has tests

No

Test-to-code ratio

0.00

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10.0

System requirements

–

C++ standard

–

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

31

First release

2011-05-09

Latest release

2026-04-28

Avg cadence

183 days

Cold removal rate

100%

Dep drift

3

LOC over versions

v2.8: 29,807 LOCv2.9: 30,925 LOCv2.10: 30,973 LOCv2.11: 31,074 LOCv2.12: 31,074 LOCv2.13: 31,059 LOCv2.14: 33,255 LOCv3.0: 22,019 LOCv3.1: 22,019 LOCv3.2: 22,230 LOCv3.3: 22,236 LOCv3.4: 22,236 LOCv3.5: 22,236 LOCv3.6: 22,236 LOCv3.7: 22,243 LOCv3.8: 22,243 LOCv3.9: 22,243 LOCv3.10: 21,622 LOCv3.11: 21,622 LOCv3.12: 21,622 LOCv3.13: 21,626 LOCv3.14: 21,630 LOCv3.15: 21,630 LOCv3.16: 21,631 LOCv3.17: 21,631 LOCv3.18: 21,631 LOCv3.19: 21,631 LOCv3.20: 21,631 LOCv3.21: 21,633 LOCv3.22: 21,633 LOCv3.23: 21,639 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

In the Bioconductor 3.23 release
READMENoVignettesYes · 8 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
55includes a package overview page
Examples that run
78%35 run in a plain check · 10 hold no code
Exported functions with examples
87%
Documented parameters
98%
Return-value docs
95%
Help pages citing references
24%

Repository practices

Bioconductor git repository

Checks read the Bioconductor git repository (git.bioconductor.org), branch RELEASE_3_23.

No development-tooling practices detected in the Bioconductor git repository.

Datasets

Bundled datasets · 13
NameClassSizeAlso in
Asnpsdata.frame9,445 × 22 packages
AutosomesSnpMatrix400 × 9,4452 packages
XchromosomeXSnpMatrix400 × 1552 packages
Xsnpsdata.frame155 × 12 packages
ceph.1mbSnpMatrix90 × 603No other package
genotypesSnpMatrix3,017 × 43No other package
pedDatadata.frame3,017 × 6No other package
snp.supportdata.frame28,501 × 42 packages
snps.10SnpMatrix1,000 × 28,5012 packages
subject.datadata.frame400 × 42 packages
subject.supportdata.frame1,000 × 22 packages
support.lddata.frame603 × 5No other package
yri.1mbSnpMatrix90 × 603No other package

All of snpStats's data objects

Topics

Maintainer
David Clayton

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (19)

Show all 33 packagesHide all 33 packages

People (from the free-text Author field)

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("snpStats")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for snpStats version 1.62.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy