Description Usage Value Examples
View source: R/record_y_tube.R
record_y_tube
allows the user to record the choices made by
study subjects in Y-tube olfactometer experiments.
Upon executing record_y_tube
the user will be prompted in the console to enter the
following information before recording: User initials', 'Year of experiment',
'Experiment number', 'Replicate number' and 'Olfactometer arm containing treatment'.
Each Y-tube olfactometer arm corresponds to a numerical key, either one or two. When a study subject enters an olfactometer arm and crosses the pre-determined decision line the user must use the numerical key corresponding to the olfactometer arm to record the individual as making a choice. Recording will automatically terminate once a choice has been made.
1 |
coderecord_y_tube returns a summary table in the console.
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 | ## Not run:
library(olfactometeR)
record_y_tube()
User initials: JR
Year: 2019
Study species being tested: "Myzus" ## Must be entered between quotation marks!
Experiment number: 1
Replicate number: 2
Olfactometer arm containing treatment (1/2): 2
Treatment: "Limonene (0.1 mg/ml)" ## Must be entered between quotation marks!
|Variable |User Response |
|:------------------------|:----------------------|
|User initials |JR |
|Study year |2019 |
|Study subject species |"Myzus" |
|Experiment no. |1 |
|Replicate no. |2 |
|Treatment arm assignment |2 |
|Treatment |"Limonene (0.1 mg/ml)" |
Are the entered details correct (y/n): y
Press any key to begin recording data:
Olfactometer zone: 2
3.33 sec elapsed
Y-Tube olfactometer
------------------------------------------------------------------------------------
Olfactometer Arm Zone Assignment Time to Arm End (secs) Time to Arm End (mins)
------------------------------------------------------------------------------------
1 Control
2 Treatment 3.33 0.06
------------------------------------------------------------------------------------
Study species: Myzus persicae
Treatment: Limonene (0.1 mg/ml)
Save the ouput (y/n): n
[1] "Output has not been saved"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.