permuco

R package for permutation test in linear model with nuisances variables

https://github.com/jaromilfrossard/permuco

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

R package for permutation test in linear model with nuisances variables

Basic Info
Statistics
  • Stars: 13
  • Watchers: 3
  • Forks: 2
  • Open Issues: 1
  • Releases: 0
Created almost 9 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog

README.Rmd

---
output: github_document
---



[![R-CMD-check](https://github.com/jaromilfrossard/permuco/workflows/R-CMD-check/badge.svg/)](https://github.com/jaromilfrossard/permuco/actions/)
[![Codecov test coverage](https://codecov.io/gh/jaromilfrossard/permuco/branch/master/graph/badge.svg/)](https://app.codecov.io/gh/jaromilfrossard/permuco?branch=master/)
[![CRAN status](https://www.r-pkg.org/badges/version/permuco)](https://CRAN.R-project.org/package=permuco)
[![R-CMD-check](https://github.com/jaromilfrossard/permuco/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jaromilfrossard/permuco/actions/workflows/R-CMD-check.yaml)
[![test-coverage](https://github.com/jaromilfrossard/permuco/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/jaromilfrossard/permuco/actions/workflows/test-coverage.yaml)



# `permuco`

This package provides functions to compute permutation tests in linear models with nuisances variables. The package has several goals :

* Providing to users the most recent methods to handle nuisance variables for permutation tests in the linear models.
* Giving to users tools to compute most common tests in linear model (t-test, ANOVA and repeated measures ANOVA).
* Providing an extension for the multiple comparisons problem in linear models with a focus for EEG data.

See [Reference](https://jaromilfrossard.github.io/permuco/reference/) for more information on the function or check the [article](https://raw.githubusercontent.com/jaromilfrossard/permuco/master/vignettes/permuco_tutorial.pdf) presenting the package.


## The `lmperm()` function
This function is constructed as an extension of the the `lm()` function for permutation test. It produces t statistics with univariate and bivariate p-value by permutation.

## The `aovperm()` function
This function is constructed as an extension of the the `aov()` function for permutation test. It produces marginal F statistics (type III) for factorial ANOVA and ANCOVA. Moreover, repeated measures ANOVA can be perform using the same notations used in an `aov()` formula with `+Error(id/within)` to specify the random effects.

## The `clusterlm()` function
This function compute cluster-mass statistics for multiple comparisons. It is designed for ERP analysis of uni-channel EEG data. The left part of formula object must be a matrix or dataframe which columns represents multiple responses tested on the same experimental design (specified by right part of the formula). This function provides several methods to handle nuisance variables, a F or t statistics, an extension for repeated measures ANOVA and several methods for the multiple comparisons like the threshold-free cluster enhancement. 

# Contact
If you need help to use the package or want to report errors, contact Jaromil Frossard at .


# References
For permutation tests with nuisance variables :

* Kherad-Pajouh, S., & Renaud, O. (2010). An exact permutation method for testing any effect in balanced and unbalanced fixed effect ANOVA. Computational Statistics & Data Analysis, 54(7), 1881-1893.

* Winkler, A. M., Ridgway, G. R., Webster, M. A., Smith, S. M., & Nichols, T. E. (2014). Permutation inference for the general linear model. Neuroimage, 92, 381-397.

For permutation test in repeated measures ANOVA :

* Kherad-Pajouh, S., & Renaud, O. (2015). A general permutation approach for analyzing repeated measures ANOVA and mixed-model designs. Statistical Papers, 56(4), 947-967.

For cluster-mass statistics for the muliple comparison problems :

* Maris, E., & Oostenveld, R. (2007). Nonparametric statistical testing of EEG-and MEG-data. Journal of neuroscience methods, 164(1), 177-190.

For the threshold-free cluster-enhancement method :

* Smith, S. M., & Nichols, T. E. (2009). Threshold-free cluster enhancement: addressing problems of smoothing, threshold dependence and localisation in cluster inference. Neuroimage, 44(1), 83-98.

# Academic works using permuco

* Allen, S. L., Bonduriansky, R., & Chenoweth, S. F. (2018). Genetic constraints on microevolutionary divergence of sex-biased gene expression. Phil. Trans. R. Soc. B, 373(1757), 20170427.

* Almodóvar-Rivera, I., & Maitra, R. (2019). FAST adaptive smoothing and thresholding for improved activation detection in low-signal fMRI. IEEE transactions on medical imaging.

* Bürki, A., Frossard, J., & Renaud, O. (2018). Accounting for stimulus and participant effects in event-related potential analyses to increase the replicability of studies. Journal of neuroscience methods, 309, 218-227.

* Christie, B. R., Trivino‐Paredes, J., Pinar, C., Neale, K. J., Meconi, A., Reid, H., & Hutton, C. P. (2019). A Rapid Neurological Assessment Protocol for Repeated Mild Traumatic Brain Injury in Awake Rats. Current protocols in neuroscience, 89(1), e80.

* Destro, G. F. G., de Fernandes, V., de Andrade, A. F. A., De Marco, P., & Terribile, L. C. (2019). Back home? Uncertainties for returning seized animals to the source‐areas under climate change. Global change biology.

* Drexl, K., Kunze, A. E., & Werner, G. G. (2019). The German version of the Fear of Sleep Inventory-Short Form: A psychometric study. European Journal of Trauma & Dissociation.

* Godfrey, M., Hepburn, S., Fidler, D. J., Tapera, T., Zhang, F., Rosenberg, C. R., & Lee, N. R. (2019). Autism spectrum disorder (ASD) symptom profiles of children with comorbid Down syndrome (DS) and ASD: A comparison with children with DS-only and ASD-only. Research in Developmental Disabilities, 89, 83-93.

* Hartmann, M., Sommer, N. R., Diana, L., Müri, R. M., & Eberhard-Moscicka, A. K. (2018). Further to the right: Viewing distance modulates attentional asymmetries (‘pseudoneglect’) during visual exploration. Brain and Cognition.

* Kern, E. M. A., & Langerhans, R. B. (2019). Urbanization Alters Swimming Performance of a Stream Fish. Front. Ecol. Evol. 6: 229. doi: 10.3389/fevo.

* Musariri, T., Pegg, N., Muvengwi, J., & Muzama, F. (2018). Differing patterns of plant spinescence affect blue duiker (Bovidae: Philantomba monticola) browsing behavior and intake rates. Ecology and Evolution.

* Podofillini, S., Cecere, J. G., Griggio, M., Corti, M., Capua, E. L. D., Parolini, M., ... & Rubolini, D. (2019). Benefits of extra food to reproduction depend on maternal condition. Oikos.

* Soler, J., Arias, B., Moya, J., Ibáñez, M. I., Ortet, G., Fañanás, L., & Fatjó-Vilas, M. (2019). The interaction between the ZNF804A gene and cannabis use on the risk of psychosis in a non-clinical sample. Progress in Neuro-Psychopharmacology and Biological Psychiatry, 89, 174-180.

* Swanson, K., Goldbach, H. C., & Laubach, M. (2019). The rat medial frontal cortex controls pace, but not breakpoint, in a progressive ratio licking task. Behavioral neuroscience, 133(4), 385.

Owner

  • Name: Jaromil Frossard
  • Login: jaromilfrossard
  • Kind: user
  • Location: Switzerland
  • Company: University of Geneva

Statistician at University of Geneva

GitHub Events

Total
  • Issues event: 2
  • Watch event: 3
  • Issue comment event: 2
Last Year
  • Issues event: 2
  • Watch event: 3
  • Issue comment event: 2

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 149
  • Total Committers: 4
  • Avg Commits per committer: 37.25
  • Development Distribution Score (DDS): 0.242
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
jaromilfrossard j****d@g****m 113
Jaromil Frossard J****d@u****h 18
jaromilfrossard j****d@h****m 11
Olivier Renaud O****d@u****h 7
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 8
  • Total pull requests: 8
  • Average time to close issues: 5 days
  • Average time to close pull requests: 2 minutes
  • Total issue authors: 6
  • Total pull request authors: 1
  • Average comments per issue: 1.38
  • Average comments per pull request: 0.0
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: about 1 hour
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • psychelzh (2)
  • jaromilfrossard (2)
  • andrewjmc (1)
  • lnalborczyk (1)
  • bnicenboim (1)
Pull Request Authors
  • jaromilfrossard (8)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 600 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 2
  • Total versions: 7
  • Total maintainers: 1
cran.r-project.org: permuco

Permutation Tests for Regression, (Repeated Measures) ANOVA/ANCOVA and Comparison of Signals

  • Versions: 7
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 600 Last month
Rankings
Stargazers count: 16.5%
Forks count: 17.1%
Dependent packages count: 18.1%
Dependent repos count: 19.3%
Average: 21.1%
Downloads: 34.7%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • Matrix * imports
  • Rcpp * imports
  • graphics * imports
  • permute * imports
  • stats * imports
  • R.rsp * suggests
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/check-standard.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite