The Spatial Similarity Task: A cross-species approach to spatial memory.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: 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.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
- [3] 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
- [4] doi:10.1038/s41598-026-42970-6 [code]
- PS-SNN: pattern separation learning for expandable spiking neural networks in class-incremental learning.Journal: Scientific reportsIn common: 3 references
- [5] doi:10.1002/hbm.70492 [code]
- Brain Bases for Navigating Acoustic Features.Journal: Human brain mappingIn common: cognitive, 2 references
- [6] doi:10.1038/s41467-026-75129-y [code]
- Environment geometry alters sequential route learning and its integration into cognitive maps.Journal: Nature communicationsIn common: cognitive, 2 references
- [7] doi:10.1371/journal.pbio.3003755 [code]
- Action information is integrated into entorhinal representations of conceptual space and is reflected in eye movements.Journal: PLoS biologyIn common: cognitive, 2 references
- [8] doi:10.1038/s41514-026-00439-w [code]
- Effects of a three-month exercise programme on cognition, mood and neurogenesis: the NeuroFit randomised controlled trial.Journal: npj agingIn common: 2 references
- [9] doi:10.1016/j.cub.2026.05.068 [code]
- An abstract relational map emerges in the human medial prefrontal cortex with consolidation.Journal: Current biology : CBIn common: 2 references
- [10] doi:10.1038/s41593-026-02388-9 [code]
- Hippocampal CA3 connectomics reveals a gradient of mossy fiber inputs and selective feedforward inhibition onto pyramidal cells.Journal: Nature neuroscienceIn common: 2 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:d98fce0fb7651c7a…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
