OSCR

The Spatial Similarity Task: A cross-species approach to spatial memory.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

  1. function[compiled_data, compiled_performance]=x_CompileTrials_Performance_forFilesInFolder(todaysdate, path_to_data)
  2. %% INPUT %%
  3. % todaysdate = string (e.g. '20231122')
  4. % path_to_data= give path to data
  5. % e.g.path_to_data='/Volumes/human/dataset for methods paper/Trial Logging/New Scale/No Arms Version/SPS Task';
  6. %%
  7. cd(path_to_data)
  8. % Get a list of CSV files in the current directory
  9. delete '._SONA*.csv'
  10. csv_files = dir('*.csv');
  11. % Initialize an empty cell array to hold the combined data
  12. compiled_data = {}; %[];
  13. compiled_performance = cell(length(csv_files), 2); %zeros(size(SPS_csv_files,1),2);
  14. % Loop over the files
  15. for iFiles = 1:length(csv_files)
  16. % Read the data from the current file
  17. data = readtable(csv_files(iFiles).name);
  18. % Split the filename into parts by "_"
  19. filename_parts = strsplit(csv_files(iFiles).name, '_');
  20. % Add a new column with the first part of the filename
  21. data.filename = repmat(filename_parts(1), height(data), 1);
  22. % Concatenate the data into the compiled_data cell array
  23. compiled_data = [compiled_data; table2cell(data)];
  24. correct_responses=sum(table2array(data(:,4)));
  25. trial_num=size(data(:,1),1);
  26. %not sure if overall_accuracy should be out of 1 or 100
  27. overall_accuracy=(correct_responses)/trial_num*100; %need to match this with MST output
  28. %overall_accuracy=(correct_responses)/trial_num*100;
  29. % Split the filename into parts by "_"
  30. filename_parts = strsplit(csv_files(iFiles).name, '_');
  31. % Assume the subject name is the first part of the filename
  32. subject_name = filename_parts{1};
  33. % Store the results
  34. compiled_performance{iFiles, 1} = subject_name;
  35. compiled_performance{iFiles, 2} = overall_accuracy;
  36. end
  37. % Convert the accuracy column to a numeric array
  38. accuracy_array = cell2mat(compiled_performance(:, 2));
  39. % Calculate the mean and standard deviation of the accuracies
  40. mean_accuracy = mean(accuracy_array, 'omitnan');
  41. std_accuracy = std(accuracy_array, 'omitnan');
  42. % Calculate the z-score for each subject's accuracy
  43. for iFiles = 1:length(csv_files)
  44. if isnan(compiled_performance{iFiles, 2})
  45. % If the accuracy is NaN, skip the z-score calculation or assign a default value
  46. compiled_performance{iFiles, 3} = NaN; % or some default value
  47. else
  48. compiled_performance{iFiles, 3} = (compiled_performance{iFiles, 2} - mean_accuracy) / std_accuracy;
  49. end
  50. end
  51. % Save the combined data into a .mat file
  52. save_filename=['compiled_trials_performance_' todaysdate];
  53. save(save_filename, 'compiled_data','compiled_performance');

x_CompileTrials_Performance_forFilesInFolder.m at commit fcb46c4, no license · at the source

Overview

Authors: Mia Borzello1, William Supian1, Andrea A. Chiba1
ORCID iDs: Mia Borzello
  1. Department of Cognitive Science, University of California,San Diego, 9500 Gilman Drive, Mail Code 0515, La Jolla, CA 92093-0515 USA
Institutions: University of California San Diego (United States)
Journal: Behavior research methods, volume 58, issue 9, article 273
Dates: received 18 July 2024; accepted 11 June 2026; published online 18 August 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3758/s13428-026-03127-5 · PMID 42613502 · PMCID PMC13486031 · OpenAlex W7203709402
Open access: hybrid, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), cognitive (subfield)
Keywords: Mnemonic discrimination, Spatial memory, Virtual reality, Cross-species
MeSH: Spatial Memory*, Adult, Animals, Female, Humans, Male, Maze Learning, Space Perception, User-Computer Interface, Virtual Reality, Young Adult (* major topic)
Journal subjects: Original Manuscript
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: National Institutes of Health (2t32mh020002-16a1)
Citations: not cited yet (Europe PMC); 66 references in the paper

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://doi.org/10.3758/s13428-026-03127-5.

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

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: the link answers
Software Heritage: not checked
Found in: the text, “Measured parameters”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
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

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: fcb46c4f78dfca67afb3c2a4478b9f8ffb169c26, 18 July 2024
Languages: MATLAB (4)
Size: 1,405 files, 4 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, documentation
Not found: license file, CITATION.cff, environment file, tests, continuous integration
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
5 files

Code availability

Experiment code and analysis code for the example study are available in a GitHub repository: https://github.com/Spatial-Similarity-Task/SST.

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://github.com/Spatial-Similarity-Task/SST.

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://doi.org/10.3758/s13428-026-03127-5

BibTeX

@article{borzello2026spatial,
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/s13428-026-03127-5},
url = {https://doi.org/10.3758/s13428-026-03127-5},
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/08/18
VL - 58
IS - 9
SP - 273
SN - 1554-351X
PB - Springer Science+Business Media
DO - 10.3758/s13428-026-03127-5
UR - https://doi.org/10.3758/s13428-026-03127-5
LA - en
ER -

CSL-JSON

{
"id": "10.3758/s13428-026-03127-5",
"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": "Behav Res Methods",
"volume": "58",
"issue": "9",
"page": "273",
"DOI": "10.3758/s13428-026-03127-5",
"PMID": "42613502",
"PMCID": "PMC13486031",
"ISSN": "1554-351X",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.3758/s13428-026-03127-5",
"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 communications
In 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: Hippocampus
In 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: iScience
In 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 America
In 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 biology
In 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 Neuroscience
In 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 America
In 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 communications
In 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.3758/s13428-026-03127-5.svg)](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:end
HTML
<!-- 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.