Home

Menu

Loading wiki pages...

View
Wiki Version:
<p><strong>NOTE as of 4/2/2020</strong>: This manuscript is currently under review. The data and analysis scripts described in the wiki page (below) will be made public upon acceptance for publication. </p> <h1>Overview and organization of this project</h1> <p>This page contains data associated with the publication:</p> <p>Adam, K.C.S., Doss, M.K., Pabon, E., Vogel, E.K. & de Wit, H. (2019) ∆9-Tetrahydrocannabinol (THC) impairs visual working memory performance</p> <p><strong>Data citation:</strong> See citation list in the top-right corner of the main project page.</p> <p><strong>Usage:</strong> If you would like to use the data in published work, please cite both the paper and OSF data set.</p> <p>We analyzed the data in <a href="https://www.mathworks.com/" rel="nofollow">MATLAB</a>. To run the analysis scripts and <a href="http://psychtoolbox.org/" rel="nofollow">psychtoolbox</a> code, you will need access to MATLAB. Unfortunately, MATLAB requires a paid license. An open-source alternative to Matlab is <a href="https://www.gnu.org/software/octave/" rel="nofollow">GNU Octave</a>. This open source alternative should work well, but keep in mind that code has not been tested for compatibility with Octave.</p> <p>For any further questions or comments, don't hesitate to email me: kadam@ucsd.edu</p> <p><strong>Note on Markdown files:</strong> If you are not familiar, <code>.md</code> files are "markdown" formatted text files. These are just text files that are interpreted by OSF / or a markdown program to render nice formatting when you view them. You can open <code>.md</code> files just fine in a plain-text editor of your choice, but they will not be formatted in a "pretty" way. To view and write markdown files in their pretty format, you will need to download a "mark down interpreter" (e.g. <a href="https://macdown.uranusjr.com/" rel="nofollow">MacDown</a> for Mac OS; <a href="http://%3Chttps://www.ossblog.org/markdown-editors/%3E" rel="nofollow">List of others</a>).</p> <h2>Status</h2> <p>As of 2 April 2020 this page has been updated to include th task code, raw data for individual subjects, aggregate data files (.mat and .csv), and the main analyses (e.g., figures, ANOVAs). </p> <h2>Project Components</h2> <h3>Task Code and Materials</h3> <p>This component contains the Matlab code used to present the stimuli to participants.</p> <p>To use the Psychtoolbox code, you need to have Matlab installed and to download and install the <a href="http://%3Chttp://psychtoolbox.org/%3E" rel="nofollow">Psychophysics toolbox</a>.</p> <p>To run an experiment, make sure that you place the whole folder in the path. Navigate to the folder so it is the current directory, and hit "play" on the main experiment script (e.g. <code>Run_Experiment.m</code>)</p> <p>These experiments were run on PC's running Windows. Some tinkering may need to be done with the code to make it forward-compatible with newer versions of Windows or Mac OS / Linux machines! </p> <p>Folders: <em> <strong>Experiment 1:</strong> Task code for Experiment 1 </em> <strong>Experiment 2:</strong> Task code for Experiment 2 * <strong><a href="http://README_TaskCode.md" rel="nofollow">README_TaskCode.md</a>:</strong> Read me file for the task code.</p> <h3>Data: Experiment 1 and Data: Experiment 2</h3> <p>These data components contain the Matlab files that were collected for individual subjects. Data for each individual is stored in a Matlab structure with different fields for each variable. </p> <p>For more information on the meaning of each variable, see the separate "data guide" file within each experiment folder. When applicable, this file provides a "dictionary" of the variables that were saved in individual Matlab files.</p> <p>Folders: <em> <strong>Aggregate files - Matlab:</strong> Aggregate files for each task used to analyze and plot data (Matlab files, ".mat") </em> <strong>Individual files - Matlab:</strong> All variables and raw data for each individual subject. <em> <strong>Aggregate Files - CSV:</strong> Aggregate data files in a .csv format for easier use with other statistical programs. </em> <strong>README files:</strong> There are separate read me files for the individual matlab files (<code><a href="http://README_IndividualFiles.md" rel="nofollow">README_IndividualFiles.md</a></code>) and a separate README for each of the aggregate files (e.g., <code><a href="http://README_ARCI.md" rel="nofollow">README_ARCI.md</a></code>). </p> <h3>Analysis</h3> <p>This component contains output files for key analyses run in JASP. Each folder contains two copies of each file. The <code>.html</code> files can be downloaded and viewed in any web browser. These files show the output (e.g. ANOVA tables) of the main analyses in the paper. The <code>.jasp</code> files include both the analysis output as well as the data. These files can be opened and run in the open source software <a href="https://jasp-stats.org/" rel="nofollow">JASP</a>. </p> <p><strong>Folders:</strong> There are separate folders for combined analyses, Experiment 1, and Experiment 2.</p> <h3>Plot Figures</h3> <p>This component contains Matlab scripts for generating all the plots found in the paper from the aggregate data. Note, you must have all functions and folders downloaded and on the active path for these to function correctly.</p> <p>Folders: <em> <strong>Files for plotting</strong>: .mat files containing the data to be plotted. </em> <strong>Support functions</strong>: Support .m files necessary to complete the plotting. * <code>Plot_</code> <strong>functions:</strong> Scripts (.m) used to plot the data.</p>
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.