Package: PupilPre 0.6.2

PupilPre: Preprocessing Pupil Size Data

Pupillometric data collected using SR Research Eyelink eye trackers requires significant preprocessing. This package contains functions for preparing pupil dilation data for visualization and statistical analysis. Specifically, it provides a pipeline of functions which aid in data validation, the removal of blinks/artifacts, downsampling, and baselining, among others. Additionally, plotting functions for creating grand average and conditional average plots are provided. See the vignette for samples of the functionality. The package is designed for handling data collected with SR Research Eyelink eye trackers using Sample Reports created in SR Research Data Viewer.

Authors:Aki-Juhani Kyröläinen [aut, cre], Vincent Porretta [aut], Jacolien van Rij [ctb], Juhani Järvikivi [ctb]

PupilPre_0.6.2.tar.gz
PupilPre_0.6.2.zip(r-4.5)PupilPre_0.6.2.zip(r-4.4)PupilPre_0.6.2.zip(r-4.3)
PupilPre_0.6.2.tgz(r-4.4-any)PupilPre_0.6.2.tgz(r-4.3-any)
PupilPre_0.6.2.tar.gz(r-4.5-noble)PupilPre_0.6.2.tar.gz(r-4.4-noble)
PupilPre_0.6.2.tgz(r-4.4-emscripten)PupilPre_0.6.2.tgz(r-4.3-emscripten)
PupilPre.pdf |PupilPre.html
PupilPre/json (API)
NEWS

# Install 'PupilPre' in R:
install.packages('PupilPre', repos = c('https://akkyro.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • Pupildat - This is a sample pupil size dataset included in the package
  • Pupilex1 - This is an example dataset to illustrate certain functionality
  • Pupilex2 - This is an example dataset to illustrate certain functionality
  • Pupilex3 - This is an example dataset to illustrate certain functionality
  • Pupilex4 - This is an example dataset to illustrate certain functionality
  • Pupilex5 - This is an example dataset to illustrate certain functionality
  • Pupilex6 - This is an example dataset to illustrate certain functionality
  • Pupilex7 - This is an example dataset to illustrate certain functionality

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

28 exports 0.00 score 64 dependencies 171 downloads

Last updated 4 years agofrom:eaf8f942bb

Exports:apply_butterapply_cleanup_changeapply_user_cleanupbaselineblink_summarybutter_filter_appcheck_baselineclean_artifactclean_blinkcompare_summarydownsampleinterpolate_NAsNA_summaryplot_compare_appplot_eventsplot_summary_appppl_check_eye_recordingppl_plot_avgppl_plot_avg_cdiffppl_plot_avg_contourppl_prep_datappl_rm_extra_DVcolsppl_select_recorded_eyerecode_off_screenrm_sparse_eventstrim_filtereduser_cleanup_appverify_cleanup_app

Dependencies:base64encbslibcachemclicolorspacecommonmarkcpp11crayonDEoptimRdigestdplyrfansifarverfastmapfontawesomefsgenericsggplot2gluegtablehtmltoolshttpuvisobandjquerylibjsonlitelabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigpromisespurrrR6rappdirsRColorBrewerRcpprlangrobustbasesassscalesshinysignalsourcetoolsstringistringrtibbletidyrtidyselectutf8vctrsviridisLiteVWPrewithrxtablezoo

Aligning Data to a Specific Sample Message

Rendered fromPupilPre_Message_Alignment.Rmdusingknitr::rmarkdownon Jul 04 2024.

Last update: 2019-08-06
Started: 2019-08-06

Basic Preprocessing of Pupil Size Data

Rendered fromPupilPre_Basic_Preprocessing.Rmdusingknitr::rmarkdownon Jul 04 2024.

Last update: 2019-08-06
Started: 2019-08-06

Blink and Artifact Cleanup (Detailed)

Rendered fromPupilPre_Cleanup.Rmdusingknitr::rmarkdownon Jul 04 2024.

Last update: 2019-08-06
Started: 2019-08-06

Interpolation and Filtering of Pupil Size Data

Rendered fromPupilPre_Interpolation_and_Filtering.Rmdusingknitr::rmarkdownon Jul 04 2024.

Last update: 2019-08-06
Started: 2019-08-06

Plotting Pupil Size Data Processed with PupilPre

Rendered fromPupilPre_Plotting.Rmdusingknitr::rmarkdownon Jul 04 2024.

Last update: 2019-08-06
Started: 2019-08-06

Readme and manuals

Help Manual

Help pageTopics
Applies a Butterworth filter to each event.apply_butter
Applies user-selected changes to auto cleanupapply_cleanup_change
Applies manual cleanup to the dataapply_user_cleanup
Baseline correct the databaseline
Check blinksblink_summary
Plots the effect of Butterworth filtering by event.butter_filter_app
Check baseline window for missing datacheck_baseline
Automatically clean artifacts.clean_artifact
Automatically clean Eyelink marked blinks.clean_blink
A utility function to compare pupil size data before and after applying the cleanupcompare_summary
Downsample the datadownsample
Interpolation for missing data.interpolate_NAs
Check missing dataNA_summary
Plots comparison of Pupil and Pupil_Previous by event.plot_compare_app
Plot each event within a group to a directoryplot_events
Plots summary of subject or item.plot_summary_app
Check which eyes were recorded during the experimentppl_check_eye_recording
Plots average Pupil.ppl_plot_avg
Plots average difference between two conditions.ppl_plot_avg_cdiff
Plots average contour surface of pupil data.ppl_plot_avg_contour
Check the classes of specific columns and re-assigns as necessary.ppl_prep_data
Checks for and removes unnecessary DV output columns.ppl_rm_extra_DVcols
Select the eye used during recordingppl_select_recorded_eye
This is a sample pupil size dataset included in the packagePupildat
This is an example dataset to illustrate certain functionalityPupilex1
This is an example dataset to illustrate certain functionalityPupilex2
This is an example dataset to illustrate certain functionalityPupilex3
This is an example dataset to illustrate certain functionalityPupilex4
This is an example dataset to illustrate certain functionalityPupilex5
This is an example dataset to illustrate certain functionalityPupilex6
This is an example dataset to illustrate certain functionalityPupilex7
PupilPre: Preprocessing Pupil Size Data.PupilPre-package PupilPre
Check for samples off-screen and marks as NA.recode_off_screen
Removes events with excessive missing datarm_sparse_events
Trim the beginning and end of filtered events.trim_filtered
Interactive app for manually cleaning pupil data.user_cleanup_app
Interactive app for verifying auto cleanup.verify_cleanup_app