hint
Tools for hypothesis testing based on Hypergeometric Intersection distributions
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.9%) to scientific vocabulary
Keywords
Repository
Tools for hypothesis testing based on Hypergeometric Intersection distributions
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
hint
Summary
hint is an R package for performing hypothesis testing based on Hypergeometric Intersection distributions. For example if you had three gene sets arising from three separate experiments with x genes shared between the three, you could determine the probability of arriving at this intersection size by chance. See the companion paper for more information.
Installation
r
install.packages("hint")
Usage
```r library(hint)
The probability of an intersection of size 5 or greater
when sampling 15, 8, and 7 balls from three urns
each with 1 ball in each of 29 categories.
phint(29, c(15, 8, 7), vals = 5) v cum.p 1 5 0.0002289938
Formalising a hypothesis test using 'hint.test'.
Categories given in the first column.
Numbers of balls in each category given in subsequent columns: each column representing an urn.
dd <- data.frame(categories = letters[1:20], urn1count = rep(1,20), urn2count = rep(1,20)) tt <- hint.test(dd, letters[1:9], letters[4:15], alternative = "greater") print(tt)
Hypergeometric intersection test
Parameters: n a b q v 20 9 12 0 6
P(X >= v) = 0.4649917
plot(tt) ```

```r
Allow duplicates in the second urn.
dd <- data.frame(letters[1:20], rep(1,20), c(rep(1,4), rep(2,16))) tt <- hint.test(dd, letters[1:9], letters[9:14], alternative = "less") print(tt)
Hypergeometric intersection test
Parameters: n a b q v 20 9 6 16 1
P(X <= v) = 0.1596769
```
References
Kalinka (2013). The probability of drawing intersections: extending the hypergeometric distribution. arXiv.1305.0717
Owner
- Login: alextkalinka
- Kind: user
- Repositories: 3
- Profile: https://github.com/alextkalinka
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Alex Kalinka | a****a@c****k | 5 |
| Alex Kalinka | A****a@c****k | 4 |
| alextkalinka | 6****a | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- alextkalinka (1)
- alex-kalinka-cruk (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 228 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: hint
Tools for Hypothesis Testing Based on Hypergeometric Intersection Distributions
- Homepage: https://github.com/alextkalinka/hint
- Documentation: http://cran.r-project.org/web/packages/hint/hint.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 0.1-3
published about 4 years ago
Rankings
Maintainers (1)
Dependencies
- grDevices * imports
- graphics * imports
- testthat >= 3.0.0 suggests