Skip to content

RarceD/randomization.service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

RandoMice Service

This is a modern version of the original RandoMice tool. You can randomize your animals via API REST request like this:

{
    "numberOfGroups": 2,
    "numberoOfAnimalsPerGroup": 5,
    "animalMeasurements" : [
        {
            "animalID": "Animal 1",
            "value": 12.23
        },
        {
            "animalID": "Animal 2",
            "value": 34.53
        },
        // {more animal covariate ...}
    ]
}

And receive the randomize groups in following format:

{
  "uniqueSetsNumber": 0,
  "groups": [
    {
      "name": "Group 1",
      "values": [
        "Animal 3",
        "Animal 12",
        "Animal 8",
        "Animal 52",
        "Animal 103",
      ],
      "rank": 0,
      "mean": 0,
      "sd": 0,
      "min": 0,
      "median": 0,
      "max": 0,
      "pValue": 0
    }
  ]
}

Documentation about study

When publishing data for which randomice service was used, please cite: van Eenige et al. PLOS ONE (2020).

Run with docker

docker build -t randomization .
docker run --name randomization -p 5000:5000 randomization

Check if the app is running ok:

curl localhost:5000/alive

See the logs:

docker exec -it randomization bash

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version - see the LICENSE file for details.

About

A user-friendly randomization tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors