A helper function for evaluating a model.
run_model(d, ce, model, roi_weights = NULL)
Returns the model's evaluation.
A dataframe with the signal data: roi, t and y. ROI is the name of the region, t is the timestamp and y the value of the signal.
Result of the convolve_events function.
A data frame containing information about the model to use and its events (event, start_time and duration).
A data frame with ROI weights: roi, weight. ROI is the name of the region, weight a number that defines the importance of that roi, the default weight for a ROI is 1. If set to 2 for a particular ROI that ROI will be twice as important.