The Spatial Similarity Task: A cross-species approach to spatial memory.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 64 lines · 2.5 KB · no license
- function[compiled_data, compiled_performance]=x_CompileTrials_Performance_forFilesInFolder(todaysdate, path_to_data)
- %% INPUT %%
- % todaysdate = string (e.g. '20231122')
- % path_to_data= give path to data
- % e.g.path_to_data='/Volumes/human/dataset for methods paper/Trial Logging/New Scale/No Arms Version/SPS Task';
- %%
- cd(path_to_data)
- % Get a list of CSV files in the current directory
- delete '._SONA*.csv'
- csv_files = dir('*.csv');
- % Initialize an empty cell array to hold the combined data
- compiled_data = {}; %[];
- compiled_performance = cell(length(csv_files), 2); %zeros(size(SPS_csv_files,1),2);
- % Loop over the files
- for iFiles = 1:length(csv_files)
- % Read the data from the current file
- data = readtable(csv_files(iFiles).name);
- % Split the filename into parts by "_"
- filename_parts = strsplit(csv_files(iFiles).name, '_');
- % Add a new column with the first part of the filename
- data.filename = repmat(filename_parts(1), height(data), 1);
- % Concatenate the data into the compiled_data cell array
- compiled_data = [compiled_data; table2cell(data)];
- correct_responses=sum(table2array(data(:,4)));
- trial_num=size(data(:,1),1);
- %not sure if overall_accuracy should be out of 1 or 100
- overall_accuracy=(correct_responses)/trial_num*100; %need to match this with MST output
- %overall_accuracy=(correct_responses)/trial_num*100;
- % Split the filename into parts by "_"
- filename_parts = strsplit(csv_files(iFiles).name, '_');
- % Assume the subject name is the first part of the filename
- subject_name = filename_parts{1};
- % Store the results
- compiled_performance{iFiles, 1} = subject_name;
- compiled_performance{iFiles, 2} = overall_accuracy;
- end
- % Convert the accuracy column to a numeric array
- accuracy_array = cell2mat(compiled_performance(:, 2));
- % Calculate the mean and standard deviation of the accuracies
- mean_accuracy = mean(accuracy_array, 'omitnan');
- std_accuracy = std(accuracy_array, 'omitnan');
- % Calculate the z-score for each subject's accuracy
- for iFiles = 1:length(csv_files)
- if isnan(compiled_performance{iFiles, 2})
- % If the accuracy is NaN, skip the z-score calculation or assign a default value
- compiled_performance{iFiles, 3} = NaN; % or some default value
- else
- compiled_performance{iFiles, 3} = (compiled_performance{iFiles, 2} - mean_accuracy) / std_accuracy;
- end
- end
- % Save the combined data into a .mat file
- save_filename=['compiled_trials_performance_' todaysdate];
- save(save_filename, 'compiled_data','compiled_performance');
x_CompileTrials_Performance_forFilesInFolder.m at commit fcb46c4, no license · at the source
Overview
Abstract
Memory serves as the cornerstone of cognitive function and specifically enables the critical ability to disambiguate and encode similar experiences as distinct memories. Mnemonic discrimination of near spaces and places is a process crucially underpinned by a computational feature of the hippocampus, pattern separation. Whereas this refined aspect of spatial memory has been addressed in abundance in the rodent literature, fewer spatial tasks are designed to specifically query memory for spatial similarities in human subjects. To address this, we introduce an open-source virtual maze suite developed on the Unity platform, freely available for researchers to use, modify, and extend. The suite is designed to bridge the behavioral translation gap by assessing mnemonic discrimination in humans through a spatial delayed match-to-sample task, carefully modeled after rodent spatial memory tasks. Rather than relying on fully immersive systems, the suite leverages desktop-based virtual navigation to combine parametric control of experimental conditions with the ability to collect each participant’s exploratory data. The pilot experiments are presented to validate the final suite design, alongside providing representative results from a subset of participants. Mnemonic discrimination was measured by parametric manipulation of spatial distances, resulting in a spatial distance memory function in which participants made more errors in remembering the correct location amongst similar or adjacent locations relative to distant locations. Given the prevalence of spatial memory deficits in age-related cognitive decline and neurological and psychiatric conditions, and the widespread use of spatial tasks in rodent models of these disorders, the Spatial Similarity Task (SST) suite offers a translationally grounded tool with direct potential for customization towards clinical application.
Supplementary Information: The online version contains supplementary material available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above.
Spatial-Similarity-Task
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Spatial-Similarity-Task/SST
fcb46c4f78dfca67afb3c2a4478b9f8ffb169c26, 18 July 2024Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
5 files
- examples/
x_CompileTrials_Performa , MATLAB, 64 linesnce_forFilesInFolder.m - examples/
x_createAschedulePLS.m , MATLAB, 35 lines - examples/
x_plot_CompiledTrialsFil , MATLAB, 51 lineses.m - examples/
x_plot_SubjectTrajectori , MATLAB, 57 lineses.m - README.md, Text, 39 lines
Code availability
Experiment code and analysis code for the example study are available in a GitHub repository: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 4 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Availability of data and materials
Anonymized sample dataset and materials are available in a GitHub repository: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Publisher: n/a → Springer Science+Business Media
- Funding: added National Institutes of Health: 2t32mh020002-16a1
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 4 keywords, 11 MeSH terms, 61 references.
Cite
This paper
Borzello, M., Supian, W., & Chiba, A. A. (2026). The Spatial Similarity Task: A cross-species approach to spatial memory. Behavior research methods, 58(9), 273. https://
BibTeX
@article{borzello2026spa
author = {Borzello, Mia and Supian, William and Chiba, Andrea A.},
title = {{The Spatial Similarity Task: A cross-species approach to spatial memory}},
journal = {Behavior research methods},
year = {2026},
month = aug,
volume = {58},
number = {9},
pages = {273},
publisher = {Springer Science+Business Media},
issn = {1554-351X},
doi = {10.3758/
url = {https://
pmid = {42613502},
pmcid = {PMC13486031}
}
RIS
TY - JOUR
AU - Borzello, Mia
AU - Supian, William
AU - Chiba, Andrea A.
TI - The Spatial Similarity Task: A cross-species approach to spatial memory
T2 - Behavior research methods
J2 - Behav Res Methods
PY - 2026
DA - 2026/
VL - 58
IS - 9
SP - 273
SN - 1554-351X
PB - Springer Science+Business Media
DO - 10.3758/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3758/
"type": "article-journal",
"title": "The Spatial Similarity Task: A cross-species approach to spatial memory",
"container-title": "Behavior research methods",
"author": [
{
"family": "Borzello",
"given": "Mia"
},
{
"family": "Supian",
"given": "William"
},
{
"family": "Chiba",
"given": "Andrea A."
}
],
"container-title-short":
"volume": "58",
"issue": "9",
"page": "273",
"DOI": "10.3758/
"PMID": "42613502",
"PMCID": "PMC13486031",
"ISSN": "1554-351X",
"publisher": "Springer Science+Business Media",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
18
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1093/braincomms/fcag255 [code]
- Impaired consolidation of spatial memory during sleep in patients with leucine-rich glioma-inactivated 1-associated limbic encephalitis.Journal: Brain communicationsIn common: cognitive, 8 references
- [2] doi:10.1162/imag.a.1088 [code]
- fMRI signals of pattern separation in the neocortex and hippocampus to non-meaningful objects and their spatial location.Journal: Imaging neuroscience (Cambridge, Mass.)In common: 8 references
- [3] doi:10.1002/hipo.70137 [code]
- Temporal Interference Modulates Medial Temporal and Frontoparietal Activity During Mnemonic Discrimination: A High-Resolution Whole-Brain fMRI Investigation.Journal: HippocampusIn common: 7 references
- [4] doi:10.1016/j.isci.2025.114241 [code]
- Complementary roles of the human perirhinal and the entorhinal cortex in the hippocampal retrieval of episodic memory.Journal: iScienceIn common: cognitive, 7 references
- [5] doi:10.1073/pnas.2603114123 [code]
- The human hippocampus can pattern separate memories by meaning.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: cognitive, 7 references
- [6] doi:10.1162/imag_a_00404 [code]
- Pattern separation involves regions beyond the hippocampus in non-demented elderly individuals: A 7T object lure task fMRI study.Journal: Imaging neuroscience (Cambridge, Mass.)In common: cognitive, 6 references
- [7] doi:10.1371/journal.pbio.3003296 [code]
- Goal-directed navigation in humans and deep reinforcement learning agents relies on an adaptive mix of vector-based and transition-based strategies.Journal: PLoS biologyIn common: 5 references
- [8] doi:10.1523/jneurosci.0833-25.2025 [code]
- Sharpened Visual Memory Representations Are Reflected in Inferotemporal Cortex.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: cognitive, 5 references
- [9] doi:10.1073/pnas.2214285119
- A smartphone intervention that enhances real-world memory and promotes differentiation of hippocampal activity in older adults.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: cognitive, 5 references
- [10] doi:10.1038/s41467-026-72141-0 [code]
- Divergent neural representations of space and task between physical and virtual navigation in macaques.Journal: Nature communicationsIn common: cognitive, 4 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 4 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:f0922b5df7d18efa…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.3758/s13428-026-03127-5)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3758/s13428-026-03127-5.svg
:target: https://openscicode.org/badge/doi/10.3758/s13428-026-03127-5
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3758/s13428-026-03127-5"><img src="https://openscicode.org/badge/doi/10.3758/s13428-026-03127-5.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
