annotate_cross | R Documentation |
Annotate registered crosses with either appetitive or aversive behavior
annotate_cross(
cross_data,
event_data,
treatment,
type = c("appetitive", "aversive")
)
cross_data |
data.frame where each row is an exit, defined by region_id, t and side |
event_data |
data.frame where each row is an event, defined by stimulus, t_start t_end, side |
treatment |
Name of a treatment matching a treatment in the corresponding field of |
type |
type of event. Either appetitive, which makes the PI increase when the fly exits the decision zone towards the event, and aversive, if the PI should decrease in that case |
data.frame of crosses happening during some event and with annotated type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.