-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
72 lines (50 loc) · 2.23 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# rvent_app
<!-- badges: start -->
[![](https://img.shields.io/badge/devel%20version-0.2.1.9000-blue.svg)](https://github.com/https://github.com/c1au6i0/rvent_app)
<!-- badges: end -->
The rvent_app is a shiny application developed to import, bin and summarized session files obtained with the [SCIREQ pletysmograph](https://www.scireq.com/). Under the hood it uses functions of the [rvent package](https://github.com/c1au6i0/rvent).
## App
A tutorial is available within the rvent_app.
The rvent_app is hosted here:
https://rden.shinyapps.io/rvent_app/
A Windows installer created using {[DesktopDeployR](https://github.com/wleepang/DesktopDeployR)} and [`inno_setup`](http://www.jrsoftware.org/isinfo.php) can be dowlonaded [here](https://1drv.ms/u/s!Am3aUTxhPMS8iYRlAMyxO8UPvIYW2A?e=WqEbGE).
### Accepted files and recording
The `rvent_app` extract some of the metadata from the subject name and comments provide in the output file. Thus, it is important to follow some rules for recording sessions.
**Subject name**
*Subject name* needs to contain a numeric ID (rest of the name will be discarded) followed by a drug name.
These are all examples of accepted formats for subject 1 receiving 3 mg/kg of milk:
```
1 milk 3 mg/kg # prefered
1_milk_3_mg/kg
1 milk
1 milk ignoredinfo
```
These are examples of not accepted formats:
```
milk 1
milk rat1
```
**Comments**
*Comments* are used to identify the injection time.
When one or more subjects receive an injection, use the SCIREQ software to add a comment in the form ID DRUG DOSE UNIT.
For example, these are the accepted formats for a session in which subjects 1, 2 and 3 received 3 mg/kg of milk:
```
1 2 3 milk 3 mg/kg # prefered
rat 1 and 2 and 3 milk 3 mg/kg
rat1_2_3_milk 3 mg/kg
rat1 2 3 milk
```
**If dose or unit are not inserted**, the rvent_app will ask you to fill that info.
Note that subjects are expected to get one injection per session.
### Example file
This is an example of a [recording file](https://1drv.ms/t/s!Am3aUTxhPMS8iM43UVMJXhO4mNCecw?e=ANMwWP) (containing randomly generated data).