Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/LMJL-Alea/ktest
10 May 2026, 16:12:15 UTC
  • Code
  • Branches (36)
  • Releases (6)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/Nystrom
    • refs/heads/fix_constant_variance_check
    • refs/heads/fix_docstring_invalid_escape_sequence
    • refs/heads/fix_mediane_computing
    • refs/heads/fix_memory_centering
    • refs/heads/fix_nystrom_subsampling
    • refs/heads/fix_repos_orga
    • refs/heads/improve_unit_test
    • refs/heads/kfda_cross_validation
    • refs/heads/legacy
    • refs/heads/main
    • refs/heads/minor_r-ktest
    • refs/heads/modify_eigendecomp
    • refs/heads/modify_python_pkg_orga
    • refs/heads/origin/refactoring
    • refs/heads/publication_genome_biology
    • refs/heads/publication_genome_biology_reversion
    • refs/heads/pyproject
    • refs/heads/r-ktest
    • refs/heads/r_switch_to_py_require
    • refs/heads/refactoring
    • refs/heads/repos_orga
    • refs/heads/rktest_dev
    • refs/heads/saving_ktest_object
    • refs/heads/standard_init
    • refs/heads/update_ktest_r
    • refs/tags/0.0.1
    • refs/tags/r_v1.0.1_latest
    • refs/tags/r_v2.0.0
    • refs/tags/v1.0.10
    • refs/tags/v1.0.11
    • refs/tags/v1.0.5
    • refs/tags/v1.0.6
    • refs/tags/v1.0.7
    • refs/tags/v1.0.8
    • refs/tags/v1.0.9
    • v1.2.2
    • v1.2.1
    • v1.2.0
    • v1.1.2
    • v1.1.1
    • v1.0.12
  • 3a182e7
  • /
  • README.md
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:900f190fb8ffd0efaa0c9cebc05280fe3441c6ec
origin badgedirectory badge
swh:1:dir:3a182e7a9007ffabbeb1a12e0d0a0eb6f7669395
origin badgerevision badge
swh:1:rev:6c8529cd17ead812e063e8e78795867c4615bdda
origin badgesnapshot badge
swh:1:snp:9a49bb933d933919a25b0c95679ec69d873b52c7

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: 6c8529cd17ead812e063e8e78795867c4615bdda authored by Ghislain Durif on 05 May 2026, 14:00:43 UTC
bump package version (v1.2.1 -> v1.2.2)
Tip revision: 6c8529c
README.md
# ktest

This package implements kernel tests such as kernel Fisher Discriminant Analysis (kFDA) and Minimum Mean Discrepency (MMD) introduced in [[1]](#1).

## Note regarding code used in publication

The code for the analysis presented in [[1]](#1) are available in a dedicated repository [here](https://github.com/AnthoOzier/ktest_experiment_genome_biology_2024).

The source code for `experimental_data` and `squair` scripts are based on the branch [`publication_genome_biology`](https://github.com/LMJL-Alea/ktest/tree/publication_genome_biology). The `reversion` scripts are based on the branch [`publication_genome_biology_reversion`](https://github.com/LMJL-Alea/ktest/tree/publication_genome_biology_reversion).

See <https://github.com/AnthoOzier/ktest_experiment_genome_biology_2024> for more details.

## Licensing and authorship

See the dedicated [`LICENSE.md`](./LICENSE.md) and [`AUTHORS.md`](./AUTHORS.md) files.

## Python package

See [`python`](./python) directory.

### Install

<!--Latest release:
```
pip install ktest
```-->

Latest development version:
```
pip install ktest@git+https://github.com/LMJL-Alea/ktest@main#subdirectory=python
```

### Tutorials

See the dedicated [`tutorials`](https://github.com/LMJL-Alea/ktest/tree/main/tutorials) folder in the project root directory for notebook tutorials in Python.

## R package

See [`r-pkg`](./r-pkg) directory.

### Install

```r
remotes::install_github("LMJL-Alea/ktest", ref = "main", subdir = "r-pkg")
```

## References

<a id="1">[1]</a> Anthony Ozier-Lafontaine, Camille Fourneaux, Ghislain Durif, Polina Arsenteva, Céline Vallot, Olivier Gandrillon, Sandrine Gonin-Giraud, Bertrand Michel, Franck Picard. Kernel-based testing for single-cell differential analysis. Genome Biol 25, 114 (2024). [doi:10.1186/s13059-024-03255-1](https://doi.org/10.1186/s13059-024-03255-1), [hal-04214858](https://hal.science/hal-04214858)

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API