Distinct gradients of cortical architecture capture visual representations and behavior across the lifespan.
The 11 matches
- [1] § Methods › Data analysis › Behavioral relevance of the architectural gradients ↔ scripts/paper_figure/data_for_paper_20230720.ipynb, lines 917 to 970 · score 0.99 · nonverbal episodic memory, cognitive flexibility, spatial orientation processing, sustained attention, fluid intelligence, inhibitory control · Report a mismatch
- [2] § Methods › Data analysis › Definition of human visual cortex ↔ scripts/plot_tmp.ipynb, lines 912 to 960 · score 0.94 · V3CD, ProS, VMV2, DVT, IPS1, Pm · Report a mismatch
- [3] § Methods › Data analysis › Behavioral relevance of the architectural gradients ↔ lib/predefine.py, lines 47 to 84 · score 0.94 · episodic memory, fluid intelligence, emotional processes, working memory, contrast sensitivity, spatial orientation · Report a mismatch
- [4] § Results ↔ scripts/paper_figure/data_for_paper_20230720.ipynb, lines 917 to 970 · score 0.92 · nonverbal episodic memory, spatial orientation processing, vocabulary comprehension, fluid intelligence, inhibitory control, visual acuity · Report a mismatch
- [5] § Methods › Data analysis › Functional significance of the architectural gradients ↔ lib/algo.py, lines 738 to 782 · score 0.77 · Fourier transformed, low frequency band, fALFF, amplitudes, sum, power · Report a mismatch
- [6] § Results ↔ lib/predefine.py, lines 47 to 84 · score 0.77 · episodic memory, fluid intelligence, spatial orientation, visual acuity, vision, scores · Report a mismatch
- [7] § Methods › Data analysis › Functional significance of the architectural gradients ↔ scripts/calc_aff.py, lines 40 to 95 · score 0.67 · Fourier transformed, frequency band, amplitudes, sum, power, ratio · Report a mismatch
- [8] § Methods › Data analysis › The global hierarchy of architectural gradients ↔ lib/predefine.py, lines 438 to 474 · score 0.61 · PeEc, V8, FFC, VVC, PIT, TF · Report a mismatch
- [9] § Methods › Data analysis › Functional significance of the architectural gradients ↔ scripts/calc_predict.py, lines 728 to 828 · score 0.51 · Logistic regression, trained, accuracy, CV, classifiers, HCP MMP · Report a mismatch
- [10] § Results ↔ lib/algo.py, lines 738 to 782 · score 0.51 · low frequency fluctuation, fALFF, fractional, amplitude · Report a mismatch
- [11] § Results ↔ plotEntorhinalPrf.m, lines 20 to 77 · score 0.51 · pRFs, variance explained, hemispheres, eccentricity · Report a mismatch
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
Python · 657 lines · 25 KB · GPL-3.0 · 3 matches
- import numpy as np
- import pandas as pd
- import nibabel as nib
- from scipy.io import loadmat
- from os.path import join as pjoin
- from magicbox.io.io import CiftiReader
- proj_dir = '/nfs/z1/userhome/ChenXiaYu/workingdir/study/visual_dev'
- meas2color = {
- 'Myelination': 'cornflowerblue', 'Thickness': 'limegreen',
- 'PC1': 'purple', 'PC2': 'orange'}
- beh_name2abbr = {
- 'CogFluidComp_Unadj': 'FluidCog', 'CogCrystalComp_Unadj': 'CrystalCog',
- 'CogTotalComp_Unadj': 'TotalCog', 'PicSeq_Unadj': 'PicSeq',
- 'CardSort_Unadj': 'CardSort', 'Flanker_Unadj': 'Flanker',
- 'ReadEng_Unadj': 'ReadEng', 'PicVocab_Unadj': 'PicVocab',
- 'ProcSpeed_Unadj': 'ProcSpeed', 'ListSort_Unadj': 'ListSort'}
- # 所有属于Cognition的测量变量
- cognition_cols = [
- 'PicSeq_Unadj', 'PicSeq_AgeAdj', 'CardSort_Unadj',
- 'CardSort_AgeAdj', 'Flanker_Unadj', 'Flanker_AgeAdj',
- 'PMAT24_A_CR', 'PMAT24_A_SI', 'PMAT24_A_RTCR', 'ReadEng_Unadj',
- 'ReadEng_AgeAdj', 'PicVocab_Unadj', 'PicVocab_AgeAdj',
- 'ProcSpeed_Unadj', 'ProcSpeed_AgeAdj', 'DDisc_SV_1mo_200',
- 'DDisc_SV_6mo_200', 'DDisc_SV_1yr_200', 'DDisc_SV_3yr_200',
- 'DDisc_SV_5yr_200', 'DDisc_SV_10yr_200', 'DDisc_SV_1mo_40K',
- 'DDisc_SV_6mo_40K', 'DDisc_SV_1yr_40K', 'DDisc_SV_3yr_40K',
- 'DDisc_SV_5yr_40K', 'DDisc_SV_10yr_40K', 'DDisc_AUC_200',
- 'DDisc_AUC_40K', 'VSPLOT_TC', 'VSPLOT_CRTE', 'VSPLOT_OFF',
- 'SCPT_TP', 'SCPT_TN', 'SCPT_FP', 'SCPT_FN', 'SCPT_TPRT',
- 'SCPT_SEN', 'SCPT_SPEC', 'SCPT_LRNR', 'IWRD_TOT', 'IWRD_RTC',
- 'ListSort_Unadj', 'ListSort_AgeAdj', 'CogFluidComp_Unadj',
- 'CogFluidComp_AgeAdj', 'CogEarlyComp_Unadj', 'CogEarlyComp_AgeAdj',
- 'CogTotalComp_Unadj', 'CogTotalComp_AgeAdj',
- 'CogCrystalComp_Unadj', 'CogCrystalComp_AgeAdj']
- # 所有属于Sensory的测量变量
- sensory_cols = [
- 'Noise_Comp', 'Odor_Unadj', 'Odor_AgeAdj', 'PainIntens_RawScore',
- 'PainInterf_Tscore', 'Taste_Unadj', 'Taste_AgeAdj', 'Color_Vision',
- 'Eye', 'EVA_Num', 'EVA_Denom', 'Correction', 'Mars_Log_Score',
- 'Mars_Errs', 'Mars_Final']
- # 视觉相关行为类型到其测量变量的映射
- vis_beh_domain2meas = {
- 'Episodic Memory': ['PicSeq_Unadj', 'PicSeq_AgeAdj'],
- 'Fluid Intelligence': ['PMAT24_A_CR', 'PMAT24_A_SI', 'PMAT24_A_RTCR',
- 'PMAT24_CR/RT', 'PMAT24_CR/SI'],
- 'Processing Speed': ['ProcSpeed_Unadj', 'ProcSpeed_AgeAdj'],
- 'Spatial Orientation': ['VSPLOT_TC', 'VSPLOT_CRTE', 'VSPLOT_OFF',
- 'VSPLOT_CR/RT', 'VSPLOT_CR/OFF'],
- 'Emotion Recognition': ['ER40_CR', 'ER40_CRT', 'ER40ANG', 'ER40FEAR',
- 'ER40HAP', 'ER40NOE', 'ER40SAD', 'ER40_CR/RT'],
- 'Color Vision': ['Color_Vision', 'Eye'],
- 'Contrast Sensitivity': ['Mars_Log_Score', 'Mars_Errs', 'Mars_Final'],
- 'Visual Acuity': ['EVA_Num', 'EVA_Denom', 'Correction'],
- 'Emotion Processing (MRI)': [
- 'Emotion_Task_Acc', 'Emotion_Task_Median_RT', 'Emotion_Task_CR/RT',
- 'Emotion_Task_Face_Acc', 'Emotion_Task_Face_Median_RT',
- 'Emotion_Task_Shape_Acc', 'Emotion_Task_Shape_Median_RT'],
- 'Working Memory (MRI)': [
- 'WM_Task_Acc', 'WM_Task_Median_RT', 'WM_Task_CR/RT',
- 'WM_Task_2bk_Acc', 'WM_Task_2bk_Median_RT', 'WM_Task_2bk_CR/RT',
- 'WM_Task_0bk_Acc', 'WM_Task_0bk_Median_RT', 'WM_Task_0bk_CR/RT',
- 'WM_Task_0bk_Body_Acc', 'WM_Task_0bk_Body_Acc_Target', 'WM_Task_0bk_Body_Acc_Nontarget',
- 'WM_Task_0bk_Face_Acc', 'WM_Task_0bk_Face_Acc_Target', 'WM_Task_0bk_Face_ACC_Nontarget',
- 'WM_Task_0bk_Place_Acc', 'WM_Task_0bk_Place_Acc_Target', 'WM_Task_0bk_Place_Acc_Nontarget',
- 'WM_Task_0bk_Tool_Acc', 'WM_Task_0bk_Tool_Acc_Target', 'WM_Task_0bk_Tool_Acc_Nontarget',
- 'WM_Task_2bk_Body_Acc', 'WM_Task_2bk_Body_Acc_Target', 'WM_Task_2bk_Body_Acc_Nontarget',
- 'WM_Task_2bk_Face_Acc', 'WM_Task_2bk_Face_Acc_Target', 'WM_Task_2bk_Face_Acc_Nontarget',
- 'WM_Task_2bk_Place_Acc', 'WM_Task_2bk_Place_Acc_Target', 'WM_Task_2bk_Place_Acc_Nontarget',
- 'WM_Task_2bk_Tool_Acc', 'WM_Task_2bk_Tool_Acc_Target', 'WM_Task_2bk_Tool_Acc_Nontarget',
- 'WM_Task_0bk_Body_Median_RT', 'WM_Task_0bk_Body_Median_RT_Target', 'WM_Task_0bk_Body_Median_RT_Nontarget',
- 'WM_Task_0bk_Face_Median_RT', 'WM_Task_0bk_Face_Median_RT_Target', 'WM_Task_0bk_Face_Median_RT_Nontarget',
- 'WM_Task_0bk_Place_Median_RT', 'WM_Task_0bk_Place_Median_RT_Target', 'WM_Task_0bk_Place_Median_RT_Nontarget',
- 'WM_Task_0bk_Tool_Median_RT', 'WM_Task_0bk_Tool_Median_RT_Target', 'WM_Task_0bk_Tool_Median_RT_Nontarget',
- 'WM_Task_2bk_Body_Median_RT', 'WM_Task_2bk_Body_Median_RT_Target', 'WM_Task_2bk_Body_Median_RT_Nontarget',
- 'WM_Task_2bk_Face_Median_RT', 'WM_Task_2bk_Face_Median_RT_Target', 'WM_Task_2bk_Face_Median_RT_Nontarget',
- 'WM_Task_2bk_Place_Median_RT', 'WM_Task_2bk_Place_Median_RT_Target', 'WM_Task_2bk_Place_Median_RT_Nontarget',
- 'WM_Task_2bk_Tool_Median_RT', 'WM_Task_2bk_Tool_Median_RT_Target', 'WM_Task_2bk_Tool_Median_RT_Nontarget']
- }
- # 行为正确率除以反应时的命名映射
- beh_CR_div_RT_dict = {
- 'PMAT24_CR/RT': ('PMAT24_A_CR', 'PMAT24_A_RTCR'),
- 'PMAT24_CR/SI': ('PMAT24_A_CR', 'PMAT24_A_SI'),
- 'VSPLOT_CR/RT': ('VSPLOT_TC', 'VSPLOT_CRTE'),
- 'VSPLOT_CR/OFF': ('VSPLOT_TC', 'VSPLOT_OFF'),
- 'ER40_CR/RT': ('ER40_CR', 'ER40_CRT'),
- 'Emotion_Task_CR/RT': ('Emotion_Task_Acc', 'Emotion_Task_Median_RT'),
- 'WM_Task_CR/RT': ('WM_Task_Acc', 'WM_Task_Median_RT'),
- 'WM_Task_2bk_CR/RT': ('WM_Task_2bk_Acc', 'WM_Task_2bk_Median_RT'),
- 'WM_Task_0bk_CR/RT': ('WM_Task_0bk_Acc', 'WM_Task_0bk_Median_RT')
- }
- # >>>CIFTI brain structure
- hemi2stru = {
- 'lh': 'CIFTI_STRUCTURE_CORTEX_LEFT',
- 'rh': 'CIFTI_STRUCTURE_CORTEX_RIGHT'
- }
- hemi2Hemi = {'lh': 'L', 'rh': 'R'}
- Hemi2stru = {
- 'L': 'CIFTI_STRUCTURE_CORTEX_LEFT',
- 'R': 'CIFTI_STRUCTURE_CORTEX_RIGHT'
- }
- # CIFTI brain structure<<<
- # >>>32k_fs_LR CIFTI
- All_count_32k = 91282
- LR_count_32k = 59412
- L_offset_32k = 0
- L_count_32k = 29696
- R_offset_32k = 29696
- R_count_32k = 29716
- # 左脑枕极的顶点号
- # 左脑枕极及其1阶近邻见data/L_OccipitalPole.label
- L_OccipitalPole_32k = 23908
- # 右脑枕极的顶点号
- # 右脑枕极及其1阶近邻见data/R_OccipitalPole.label
- R_OccipitalPole_32k = 23868
- # 左脑MT中心顶点号
- # 左脑MT中心及其1阶近邻见data/L_MT.label
- L_MT_32k = 15293
- # 右脑MT中心顶点号
- # 右脑MT中心及其1阶近邻见data/R_MT.label
- R_MT_32k = 15291
- # 32k_fs_LR CIFTI<<<
- # >>>HCP MMP1.0
- mmp_map_file = '/nfs/z1/atlas/multimodal_glasser/surface/'\
- 'MMP_mpmLR32k.dlabel.nii'
- mmp_roilbl_file = '/nfs/z1/atlas/multimodal_glasser/roilbl_mmp.csv'
- def get_name_label_of_MMP():
- """
- 获取HCP MMP1.0的ROI names和labels
- """
- df = pd.read_csv(mmp_roilbl_file, skiprows=1, header=None)
- n_roi = df.shape[0] * 2
- names = np.zeros(n_roi, dtype=np.object_)
- labels = np.zeros(n_roi, dtype=np.uint16)
- for idx in df.index:
- names[idx] = df.loc[idx, 1][:-4]
- names[idx+180] = df.loc[idx, 0][:-4]
- labels[idx] = idx + 1
- labels[idx+180] = idx + 181
- return names, labels
- mmp_name2label = {}
- mmp_label2name = {}
- for name, lbl in zip(*get_name_label_of_MMP()):
- mmp_name2label[name] = lbl
- mmp_label2name[lbl] = name
- # HCP MMP1.0<<<
- # >>>ColeAnticevicNetPartition
- cole_net_assignment_file = '/nfs/z1/atlases/ColeAnticevicNetPartition/'\
- 'cortex_parcel_network_assignments.mat'
- cole_names = ['Primary Visual', 'Secondary Visual', 'Somatomotor',
- 'Cingulo-Opercular', 'Dorsal-attention', 'Language',
- 'Frontoparietal', 'Auditory', 'Default', 'Posterior Multimodal',
- 'Ventral Multimodal', 'Orbito-Affective']
- cole_labels = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
- cole_name2label = {}
- cole_label2name = {}
- for name, lbl in zip(cole_names, cole_labels):
- cole_name2label[name] = lbl
- cole_label2name[lbl] = name
- def get_parcel2label_by_ColeName(net_names):
- """
- 根据Cole Network的名字提取所有包含的parcel及其label
- Args:
- net_names (str|list): ColeNet names
- If is str, one ColeNet name.
- If is list, a list of ColeNet names.
- 12 valid names: Primary Visual, Secondary Visual,
- Somatomotor, Cingulo-Opercular, Dorsal-attention,
- Language, Frontoparietal, Auditory, Default,
- Posterior Multimodal, Ventral Multimodal, Orbito-Affective
- """
- if isinstance(net_names, str):
- net_names = [net_names]
- elif isinstance(net_names, list):
- pass
- else:
- raise TypeError("Please input str or list!")
- net_labels = [cole_name2label[name] for name in net_names]
- net_lbl_vec = loadmat(cole_net_assignment_file)['netassignments'][:, 0]
- net_lbl_vec = np.r_[net_lbl_vec[180:], net_lbl_vec[:180]]
- idx_vec = np.zeros_like(net_lbl_vec, dtype=bool)
- for lbl in net_labels:
- idx_vec = np.logical_or(idx_vec, net_lbl_vec == lbl)
- mmp_labels = np.where(idx_vec)[0] + 1
- parcel2label = {}
- for lbl in mmp_labels:
- parcel2label[mmp_label2name[lbl]] = lbl
- return parcel2label
- # ColeAnticevicNetPartition<<<
- # >>>FFA MPM from my HCP-YA project
- ffa_names = ['R_pFus-face', 'R_mFus-face', 'L_pFus-face', 'L_mFus-face']
- ffa_labels = [2, 3, 5, 6]
- ffa_name2label = {}
- ffa_label2name = {}
- for name, lbl in zip(ffa_names, ffa_labels):
- ffa_name2label[name] = lbl
- ffa_label2name[lbl] = name
- # FFA MPM from my HCP-YA project<<<
- # >>>(Wang et al, 2015) visual ROIs
- wang2015_file = '/nfs/z1/HCP/HCPYA/S1200_7T_Retinotopy_Pr_9Zkk/'\
- 'S1200_7T_Retinotopy181/MNINonLinear/fsaverage_LR32k/'\
- 'lr.wang2015.32k_fs_LR.dlabel.nii'
- wang2015_name2label = {}
- wang2015_label2name = {}
- for k, v in CiftiReader(wang2015_file).label_tables()[0].items():
- if k == 0:
- continue
- wang2015_name2label[f'L_{v.label}'] = k + 25
- wang2015_name2label[f'R_{v.label}'] = k
- for k, v in wang2015_name2label.items():
- wang2015_label2name[v] = k
- # (Haak and Beckmann, 2018, Cortex)
- wang2015_early = ['V1v', 'V1d', 'V2v', 'V2d', 'V3v', 'V3d']
- wang2015_dorsal = ['V3A', 'V3B', 'IPS0', 'IPS1', 'IPS2', 'IPS3', 'IPS4', 'IPS5', 'SPL1']
- wang2015_lateral = ['LO1', 'LO2', 'TO1', 'TO2']
- wang2015_ventral = ['hV4', 'VO1', 'VO2', 'PHC1', 'PHC2']
- # (Wang et al, 2015) visual ROIs<<<
- # >>>S1200_7T_Retinotopy
- s1200_avg_eccentricity = '/nfs/z1/HCP/HCPYA/S1200_7T_Retinotopy_Pr_9Zkk/'\
- 'S1200_7T_Retinotopy181/MNINonLinear/fsaverage_LR32k/'\
- 'S1200_7T_Retinotopy181.Fit1_Eccentricity_MSMAll.32k_fs_LR.dscalar.nii'
- s1200_avg_angle = '/nfs/z1/HCP/HCPYA/S1200_7T_Retinotopy_Pr_9Zkk/'\
- 'S1200_7T_Retinotopy181/MNINonLinear/fsaverage_LR32k/'\
- 'S1200_7T_Retinotopy181.Fit1_PolarAngle_MSMAll.32k_fs_LR.dscalar.nii'
- s1200_avg_anglemirror = '/nfs/z1/HCP/HCPYA/S1200_7T_Retinotopy_Pr_9Zkk/'\
- 'S1200_7T_Retinotopy181/MNINonLinear/fsaverage_LR32k/'\
- 'S1200_7T_Retinotopy181.Fit1_PolarAngleMirror_MSMAll.32k_fs_LR.dscalar.nii'
- s1200_avg_RFsize = '/nfs/z1/HCP/HCPYA/S1200_7T_Retinotopy_Pr_9Zkk/'\
- 'S1200_7T_Retinotopy181/MNINonLinear/fsaverage_LR32k/'\
- 'S1200_7T_Retinotopy181.Fit1_ReceptiveFieldSize_MSMAll.32k_fs_LR.dscalar.nii'
- s1200_avg_R2 = '/nfs/z1/HCP/HCPYA/S1200_7T_Retinotopy_Pr_9Zkk/'\
- 'S1200_7T_Retinotopy181/MNINonLinear/fsaverage_LR32k/'\
- 'S1200_7T_Retinotopy181.Fit1_R2_MSMAll.32k_fs_LR.dscalar.nii'
- # S1200_7T_Retinotopy<<<
- # >>>dataset
- s1200_avg_dir = '/nfs/z1/HCP/HCPYA/HCP_S1200_GroupAvg_v1'
- s1200_avg_corrThickness = pjoin(
- s1200_avg_dir, 'S1200.corrThickness_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_avg_thickness = pjoin(
- s1200_avg_dir, 'S1200.thickness_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_avg_myelin = pjoin(
- s1200_avg_dir, 'S1200.MyelinMap_BC_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_avg_curv = pjoin(
- s1200_avg_dir, 'S1200.curvature_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_1096_corrThickness = pjoin(
- s1200_avg_dir, 'S1200.All.corrThickness_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_1096_thickness = pjoin(
- s1200_avg_dir, 'S1200.All.thickness_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_1096_myelin = pjoin(
- s1200_avg_dir, 'S1200.All.MyelinMap_BC_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_1096_curv = pjoin(
- s1200_avg_dir, 'S1200.All.curvature_MSMAll.32k_fs_LR.dscalar.nii'
- )
- s1200_1096_va = pjoin(
- s1200_avg_dir, 'S1200.All.midthickness_MSMAll_va.32k_fs_LR.dscalar.nii'
- )
- s1200_midthickness_L = pjoin(
- s1200_avg_dir, 'S1200.L.midthickness_MSMAll.32k_fs_LR.surf.gii'
- )
- s1200_midthickness_R = pjoin(
- s1200_avg_dir, 'S1200.R.midthickness_MSMAll.32k_fs_LR.surf.gii'
- )
- s1200_MedialWall = pjoin(
- s1200_avg_dir, 'Human.MedialWall_Conte69.32k_fs_LR.dlabel.nii'
- )
- s1200_group_rsfc_mat = '/nfs/z1/HCP/HCPYA/HCP_S1200_1003_rfMRI_MSMAll_'\
- 'groupPCA_d4500ROW_zcorr.dconn.nii'
- dataset_name2dir = {
- 'HCPD': '/nfs/z1/HCP/HCPD',
- 'HCPY': '/nfs/z1/HCP/HCPYA',
- 'HCPA': '/nfs/z1/HCP/HCPA'
- }
- # datatset<<<
- def get_rois(name):
- # >>>ColeAnticevicNetPartition
- if name == 'Cole-vis-L':
- # ColeNet中被选为视觉相关的网络的所有ROI(左脑)
- nets = ['Primary Visual', 'Secondary Visual',
- 'Posterior Multimodal', 'Ventral Multimodal']
- parcel2label = get_parcel2label_by_ColeName(nets)
- rois = [i for i in parcel2label.keys() if i.startswith('L_')]
- elif name == 'Cole-vis-R':
- # ColeNet中被选为视觉相关的网络的所有ROI(右脑)
- nets = ['Primary Visual', 'Secondary Visual',
- 'Posterior Multimodal', 'Ventral Multimodal']
- parcel2label = get_parcel2label_by_ColeName(nets)
- rois = [i for i in parcel2label.keys() if i.startswith('R_')]
- elif name == 'Cole-vis-L1':
- # ColeNet中被选为视觉相关的网络的所有ROI(左脑) + L_STV
- nets = ['Primary Visual', 'Secondary Visual',
- 'Posterior Multimodal', 'Ventral Multimodal']
- parcel2label = get_parcel2label_by_ColeName(nets)
- rois = [i for i in parcel2label.keys() if i.startswith('L_')]
- rois.append('L_STV')
- # ColeAnticevicNetPartition<<<
- # >>>HCP-MMP1_visual-cortex2
- elif name == 'MMP-vis2-L':
- # HCP-MMP1_visual-cortex2的所有ROI(左脑)
- df = pd.read_csv(pjoin(proj_dir, 'data/HCP/HCP-MMP1_visual-cortex2.csv'))
- rois = []
- for idx, rid in enumerate(df['ID_in_22Region']):
- if np.isnan(rid):
- continue
- rois.append(f"L_{df.loc[idx, 'area_name']}")
- elif name == 'MMP-vis2-R':
- # HCP-MMP1_visual-cortex2的所有ROI(右脑)
- df = pd.read_csv(pjoin(proj_dir, 'data/HCP/HCP-MMP1_visual-cortex2.csv'))
- rois = []
- for idx, rid in enumerate(df['ID_in_22Region']):
- if np.isnan(rid):
- continue
- rois.append(f"R_{df.loc[idx, 'area_name']}")
- elif name.startswith('MMP-vis2-G'):
- # name的格式是以MMP-vis2-G开头,后面跟的是Group的编号n
- # Group n在HCP-MMP1_visual-cortex2中的的所有ROI(不区分左右)
- trg = int(name[10:])
- df = pd.read_csv(pjoin(proj_dir, 'data/HCP/HCP-MMP1_visual-cortex2.csv'))
- rois = []
- for idx, rid in enumerate(df['ID_in_22Region']):
- if rid == trg:
- rois.append(df.loc[idx, 'area_name'])
- # HCP-MMP1_visual-cortex2<<<
- # >>>HCP-MMP1_visual-cortex3
- elif name == 'MMP-vis3-L':
- # HCP-MMP1_visual-cortex3的所有ROI(左脑)
- df = pd.read_csv(pjoin(proj_dir, 'data/HCP/HCP-MMP1_visual-cortex3.csv'))
- rois = []
- for idx, rid in enumerate(df['ID_in_22Region']):
- if np.isnan(rid):
- continue
- rois.append(f"L_{df.loc[idx, 'area_name']}")
- elif name == 'MMP-vis3-R':
- # HCP-MMP1_visual-cortex3的所有ROI(右脑)
- df = pd.read_csv(pjoin(proj_dir, 'data/HCP/HCP-MMP1_visual-cortex3.csv'))
- rois = []
- for idx, rid in enumerate(df['ID_in_22Region']):
- if np.isnan(rid):
- continue
- rois.append(f"R_{df.loc[idx, 'area_name']}")
- elif name.startswith('MMP-vis3-G'):
- # name的格式是以MMP-vis3-G开头,后面跟的是Group的编号n
- # Group n在HCP-MMP1_visual-cortex3中的的所有ROI(不区分左右)
- trg = int(name[10:])
- df = pd.read_csv(pjoin(proj_dir, 'data/HCP/HCP-MMP1_visual-cortex3.csv'))
- rois = []
- for idx, rid in enumerate(df['ID_in_22Region']):
- if rid == trg:
- rois.append(df.loc[idx, 'area_name'])
- # HCP-MMP1_visual-cortex3<<<
- # >>>(Wang et al, 2015) visual ROIs
- elif name == 'Wang2015-L':
- rois = [i for i in wang2015_name2label.keys() if i.startswith('L_')]
- elif name == 'Wang2015-R':
- rois = [i for i in wang2015_name2label.keys() if i.startswith('R_')]
- elif name == 'Wang2015-early-L':
- rois = [f'L_{i}' for i in wang2015_early]
- elif name == 'Wang2015-early-R':
- rois = [f'R_{i}' for i in wang2015_early]
- elif name == 'Wang2015-dorsal-L':
- rois = [f'L_{i}' for i in wang2015_dorsal]
- elif name == 'Wang2015-dorsal-R':
- rois = [f'R_{i}' for i in wang2015_dorsal]
- elif name == 'Wang2015-lateral-L':
- rois = [f'L_{i}' for i in wang2015_lateral]
- elif name == 'Wang2015-lateral-R':
- rois = [f'R_{i}' for i in wang2015_lateral]
- elif name == 'Wang2015-ventral-L':
- rois = [f'L_{i}' for i in wang2015_ventral]
- elif name == 'Wang2015-ventral-R':
- rois = [f'R_{i}' for i in wang2015_ventral]
- # (Wang et al, 2015) visual ROIs<<<
- # >>>visual path way
- elif name == 'rPath1':
- rois = ['R_V1', 'R_V2', 'R_V3', 'R_V4', 'R_PIT', 'R_FFC', 'R_TF', 'R_PeEc']
- elif name == 'rPath2':
- rois = ['R_V1', 'R_V2', 'R_V3', 'R_V4', 'R_V8', 'R_VVC', 'R_TF', 'R_PeEc']
- elif name == 'rPath3':
- rois = ['R_V1', 'R_V2', 'R_V3', 'R_V4', 'R_PIT', 'R_pFus-face', 'R_mFus-face', 'R_TF', 'R_PeEc']
- elif name == 'rPath4':
- rois = ['R_V1', 'R_V2', 'R_MT', 'R_STV', 'R_VIP']
- elif name == 'rPath5':
- rois = ['R_V1', 'R_V2', 'R_V3', 'R_STV', 'R_VIP']
- elif name == 'rPath6':
- rois = ['R_V1', 'R_MT', 'R_STV', 'R_VIP']
- elif name == 'rPath7':
- rois = ['R_V1', 'R_V2', 'R_V3', 'R_V3A', 'R_V7', 'R_IPS1', 'R_VIP']
- elif name == 'Hierarchy1':
- rois = ['V1', 'V2', 'V3', 'V3B', 'V4', 'MT', 'VIP', 'FST', 'TF']
- elif name == 'Hierarchy2':
- rois = ['V1', 'V2', 'V3', 'V4', 'PIT', 'VVC', 'FFC', 'TF', 'PeEc']
- elif name == 'Hierarchy3':
- rois = ['V1', 'V2', 'V3', 'V4', 'V8', 'PIT', 'VVC', 'FFC', 'TF', 'PeEc']
- elif name == 'Hierarchy4':
- rois = ['V1', 'V2', 'V3', 'V4', 'V8', 'PIT', 'VVC', 'FFA1', 'FFA2', 'TF', 'PeEc']
- elif name == 'Hierarchy5':
- rois = ['V1', 'V2', 'V3', 'V4', 'V8', 'PIT', 'VVC', 'pFFA', 'mFFA', 'TF', 'PeEc']
- # visual path way<<<
- else:
- raise ValueError('Not supported name')
- return rois
- class Atlas:
- """
- atlas_name: atlas name
- maps: (n_map, n_vtx) numpy array
- roi2label: key - ROI name; value - ROI label
- """
- def __init__(self, atlas_name=None):
- """
- Args:
- atlas_name (str, optional): atlas name.
- Defaults to None.
- """
- if atlas_name is None:
- self.atlas_name = None
- self.maps = None
- self.roi2label = None
- self.n_roi = None
- else:
- self.set(atlas_name)
- assert self.maps.shape == (1, LR_count_32k)
- def set(self, atlas_name):
- """
- Set atlas
- Args:
- atlas_name (str): atlas name
- 'cortex': 左右cortex分别作为两个大ROI
- 'HCP-MMP': HCP MMP1.0的所有ROI
- 'FFA': MPMs of pFus- and mFus-face from my HCP-YA FFA project
- 'Wang2015': (Wang et al., 2015)中定的视觉区
- """
- self.atlas_name = atlas_name
- if atlas_name == 'cortex':
- self.maps = np.ones((1, LR_count_32k), dtype=np.uint8)
- self.maps[0, R_offset_32k:(R_offset_32k+R_count_32k)] = 2
- self.roi2label = {'L_cortex': 1, 'R_cortex': 2}
- elif atlas_name == 'HCP-MMP':
- self.maps = nib.load(mmp_map_file).get_fdata()
- self.roi2label = mmp_name2label
- elif atlas_name == 'FFA':
- fsr_map = nib.load(
- pjoin(proj_dir, 'data/FFA_mpmLR32k.dlabel.nii')).get_fdata()
- self.maps = np.zeros_like(fsr_map, dtype=np.uint8)
- for lbl in ffa_name2label.values():
- self.maps[fsr_map == lbl] = lbl
- self.roi2label = ffa_name2label
- elif atlas_name == 'Wang2015':
- reader = CiftiReader(wang2015_file)
- map_L = reader.get_data(hemi2stru['lh'])
- map_R = reader.get_data(hemi2stru['rh'])
- lbl_tab = reader.label_tables()[0]
- for k in lbl_tab.keys():
- if k == 0:
- continue
- map_L[map_L == k] = k + 25
- self.maps = np.c_[map_L, map_R]
- self.roi2label = wang2015_name2label
- elif atlas_name == 'MMP-vis3-EDLV':
- reader = CiftiReader(pjoin(
- proj_dir, 'data/HCP/HCP-MMP1_visual-cortex3_EDLV.dlabel.nii'
- ))
- lbl_tab = reader.label_tables()[0]
- self.roi2label = {}
- for k in lbl_tab.keys():
- if k == 0:
- continue
- self.roi2label[lbl_tab[k].label] = k
- self.maps = reader.get_data()
- else:
- raise ValueError(f'{atlas_name} is not supported at present!')
- self.n_roi = len(self.roi2label)
- def get_mask(self, roi_names, stru_range='cortex'):
- """
- 制定mask,将roi_names指定的ROI都设置为True,其它地方为False
- Args:
- roi_names (str | strings):
- 'LR': 指代所有左右脑的ROI
- 'L': 指代所有左脑的ROI
- 'R': 指代所有右脑的ROI
- stru_range (str):
- 'cortex': limited in LR_count_32k
- 'grayordinate': limited in All_count_32k
- """
- if isinstance(roi_names, str):
- roi_names = [roi_names]
- mask = np.zeros_like(self.maps, bool)
- for roi in roi_names:
- if roi == 'LR':
- for r, l in self.roi2label.items():
- if r.startswith('L_') or r.startswith('R_'):
- mask = np.logical_or(mask, self.maps == l)
- elif roi in ('L', 'R'):
- for r, l in self.roi2label.items():
- if r.startswith(f'{roi}_'):
- mask = np.logical_or(mask, self.maps == l)
- else:
- mask = np.logical_or(
- mask, self.maps == self.roi2label[roi])
- if stru_range == 'cortex':
- pass
- elif stru_range == 'grayordinate':
- mask = np.c_[mask, np.zeros((1, All_count_32k-LR_count_32k), bool)]
- else:
- raise ValueError('not supported stru_range:', stru_range)
- return mask
- class MedialWall:
- """
- medial wall in 32k_fs_LR space
- """
- def __init__(self, method=1):
- """
- Initialize medial wall vertices
- Args:
- method (int, optional): Defaults to 1.
- 1: 直接从存有MedialWall的dlabel文件中提取顶点号
- 2:找到HCP MMP1.0 atlas dlabel文件中略去的顶点号
- 这两种方法的结果是一致的
- """
- if method == 1:
- reader = CiftiReader(s1200_MedialWall)
- self.L_vertices = np.where(
- reader.get_data(hemi2stru['lh'])[0] == 1
- )[0].tolist()
- self.R_vertices = np.where(
- reader.get_data(hemi2stru['rh'])[0] == 1
- )[0].tolist()
- elif method == 2:
- reader = CiftiReader(mmp_map_file)
- _, _, L_shape, L_idx2vtx = reader.get_stru_pos(hemi2stru['lh'])
- self.L_vertices = sorted(
- set(range(L_shape[0])).difference(L_idx2vtx)
- )
- _, _, R_shape, R_idx2vtx = reader.get_stru_pos(hemi2stru['rh'])
- self.R_vertices = sorted(
- set(range(R_shape[0])).difference(R_idx2vtx)
- )
- else:
- raise ValueError
- def remove_from_faces(self, hemi, faces):
- """
- 去除faces中的medial wall顶点
- Args:
- hemi (str): hemisphere
- lh: left hemisphere
- rh: right hemisphere
- faces (ndarray): n_face x 3
- surface mesh顶点的三角连边关系
- Returns:
- [ndarray]: 去除medial wall之后的faces
- """
- if hemi == 'lh':
- medial_wall = self.L_vertices
- elif hemi == 'rh':
- medial_wall = self.R_vertices
- else:
- raise ValueError('hemi must be lh or rh')
- row_indices = ~np.any(np.in1d(
- faces.ravel(), medial_wall).reshape(faces.shape), 1)
- faces = faces[row_indices]
- return faces
predefine.py at commit 5544d58, under GPL-3.0 · at the source
Overview
- Beijing Key Laboratory of Applied Experimental Psychology, Faculty of Psychology, Beijing Normal University, Beijing, China
- BGI-Shenzhen, Shenzhen, China
- Department of Psychology, School of Arts and Sciences, University of Pennsylvania, Philadelphia, United States
- Princeton Neuroscience Institute, Princeton University, Princeton, United States
- State Key Laboratory of Cognitive Neuroscience and Learning & IDG/McGovern Institute for Brain Research, Beijing Normal University, Beijing, China
- Psychology Department, Princeton University, Princeton, United States
Abstract
The microstructure of cells within the human cerebral cortex varies across the cortical ribbon, where changes in cytoarchitecture and myeloarchitecture are thought to endow each region of the cortex with its unique function. While fine-scale relative to a cell, these changes at the population level impact architectural properties of the cortex measurable in vivo by noninvasive MRI, such as the thickness and myelin content of the cortex. This raises the question of whether or not we can use these in vivo architectural measures to understand cortical organization, function, and development more broadly. Using the human visual cortex as a test bed, we demonstrated two architectural gradients, one in which cytoarchitecture and myeloarchitecture converge and another in which they diverge. These two gradients underlie the structural and functional topography of the visual cortex, even predicting the presence of new visual representations. Moreover, the two gradients show distinct visual behavior relevance and lifespan trajectory. These findings provide a more general framework for understanding the human cortex, showing that architectural gradients are a measurable fingerprint of functional organization and ontogenetic routines in the human brain.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 11 matches between paragraphs and lines of code.
BNUCNL/VisualCortexGradient
5544d589dd0f8ed23b33c6b612cdc1653e6465fc, 26 November 2023Availability: 1 check, the latest on 31 October 2026: the link answers
- 31 October 2026: the link answers
52 files
- lib/
__init__.py , Python, 1 line - lib/
algo.py , Python, 978 lines, 2 matches - lib/
predefine.py , Python, 657 lines, 3 matches - scripts/
1check.py , Python, 132 lines - scripts/
2explore_ColeNetwork.py , Python, 110 lines - scripts/
2explore_dataset.py , Python, 382 lines - scripts/
2extract_from_dataset.py , Python, 1,319 lines - scripts/
2prepare_material.py , Python, 373 lines - scripts/
4structure.py , Python, 101 lines - scripts/
calc_AHEAD.py , Python, 56 lines - scripts/
calc_ROI_neighbor.py , Python, 100 lines - scripts/
calc_ROI_scalar.py , Python, 150 lines - scripts/
calc_RSA.py , Python, 134 lines - scripts/
calc_RSM.py , Python, 1,049 lines - scripts/
calc_SC.py , Python, 279 lines - scripts/
calc_aff.py , Python, 326 lines, 1 match - scripts/
calc_bigbrain.py , Python, 482 lines - scripts/
calc_decomposition.py , Python, 753 lines - scripts/
calc_dev_trend.py , Python, 152 lines - scripts/
calc_divide_map.py , Python, 765 lines - scripts/
calc_fit.py , Python, 998 lines - scripts/
calc_gdist.py , Python, 308 lines - scripts/
calc_grad_dist.py , Python, 121 lines - scripts/
calc_mask_map.py , Python, 450 lines - scripts/
calc_outlier.py , Python, 363 lines - scripts/
calc_pair_dist.py , Python, 82 lines - scripts/
calc_predict.py , Python, 1,263 lines, 1 match - scripts/
calc_retinotopy.py , Python, 441 lines - scripts/
calc_rfMRI.py , Python, 83 lines - scripts/
calc_summary_map.py , Python, 161 lines - scripts/
calc_tfMRI.py , Python, 230 lines - scripts/
calc_tmp.py , Python, 209 lines - scripts/
calc_variation.py , Python, 1,307 lines - scripts/
calc_variation_CS.py , Python, 503 lines - scripts/
discard/ , Python, 165 linescalc_cluster.py - scripts/
paper_figure/ , Jupyter, 1,115 lines, 2 matchesdata_for_paper_20230720. ipynb - scripts/
paper_figure/ , Jupyter, 184 linesplot_LinearFit_scatter.i pynb - scripts/
paper_figure/ , Python, 157 linesprepare_plot.py - scripts/
plot_RSM.ipynb , Jupyter, 570 lines - scripts/
plot_csv_row.ipynb , Jupyter, 78 lines - scripts/
plot_dendrogram.ipynb , Jupyter, 20 lines - scripts/
plot_dev_line.ipynb , Jupyter, 153 lines - scripts/
plot_distribution.ipynb , Jupyter, 394 lines - scripts/
plot_kendall.ipynb , Jupyter, 175 lines - scripts/
plot_line_bar.ipynb , Jupyter, 4,389 lines - scripts/
plot_outlier.ipynb , Jupyter, 94 lines - scripts/
plot_scatter.ipynb , Jupyter, 2,327 lines - scripts/
plot_space_dist.ipynb , Jupyter, 145 lines - scripts/
plot_tmp.ipynb , Jupyter, 1,190 lines, 1 match - scripts/
plot_wordcloud.ipynb , Jupyter, 158 lines - LICENSE, License, 674 lines
- README.md, Text, 2 lines
gomezj/entorhinal_prf
6d64d29d02d09ef5c536998b4d1e6147380d7390, 20 November 2023Availability: 1 check, the latest on 31 October 2026: the link answers
- 31 October 2026: the link answers
3 files
- plotEntorhinalPrf.m, MATLAB, 168 lines, 1 match
- plot_ci.m, MATLAB, 408 lines
- README.md, Text, 3 lines
Code availability
The HCP data were preprocessed using the HCP-Pipeline analyses (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;
- 52 scripts, each with its path and the digest of its content;
- 11 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- 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
Datasets cited
- humanconnectome.org/
storage/ , at Human Connectome Project; found in “Data availability”app
Data availability
The HCP datasets supporting this study are publicly available. HCP-YA (S1200) data are accessible via ConnectomeDB powered by BALSA (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 1, 31 October 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 7 authors, 1 keyword, 11 MeSH terms, 3 funders, 105 references.
Cite
This paper
Chen, X., Liu, X., Hoyos, P. M., Daniel Hertz, E., Yao, J. K., Zhen, Z., & Gomez, J. (2026). Distinct gradients of cortical architecture capture visual representations and behavior across the lifespan. eLife, 13, RP102095. https://
BibTeX
@article{chen2026distinc
author = {Chen, Xiayu and Liu, Xingyu and Hoyos, Patricia Maria and Daniel Hertz, Edan and Yao, Jewelia K and Zhen, Zonglei and Gomez, Jesse},
title = {{Distinct gradients of cortical architecture capture visual representations and behavior across the lifespan}},
journal = {eLife},
year = {2026},
month = oct,
volume = {13},
pages = {RP102095},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/
url = {https://
pmid = {42960830},
pmcid = {PMC13722415}
}
RIS
TY - JOUR
AU - Chen, Xiayu
AU - Liu, Xingyu
AU - Hoyos, Patricia Maria
AU - Daniel Hertz, Edan
AU - Yao, Jewelia K
AU - Zhen, Zonglei
AU - Gomez, Jesse
TI - Distinct gradients of cortical architecture capture visual representations and behavior across the lifespan
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/
VL - 13
SP - RP102095
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"type": "article-journal",
"title": "Distinct gradients of cortical architecture capture visual representations and behavior across the lifespan",
"container-title": "eLife",
"author": [
{
"family": "Chen",
"given": "Xiayu"
},
{
"family": "Liu",
"given": "Xingyu"
},
{
"family": "Hoyos",
"given": "Patricia Maria"
},
{
"family": "Daniel Hertz",
"given": "Edan"
},
{
"family": "Yao",
"given": "Jewelia K"
},
{
"family": "Zhen",
"given": "Zonglei"
},
{
"family": "Gomez",
"given": "Jesse"
}
],
"container-title-short":
"volume": "13",
"page": "RP102095",
"DOI": "10.7554/
"PMID": "42960830",
"PMCID": "PMC13722415",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
10,
30
]
]
}
}
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.1523/jneurosci.0809-24.2024 [code]
- An Eccentricity Gradient Reversal across High-Level Visual Cortex.Journal: The Journal of neuroscience : the official journal of the Society for NeuroscienceIn common: Statistics and Machine Learning Toolbox, systems, 24 references, author Jewelia K Yao
- [2] doi:10.1371/journal.pcbi.1012507 [code]
- Distributed network flows generate localized category selectivity in human visual cortex.Journal: PLoS computational biologyIn common: Connectome Workbench, statsmodels, NiBabel, 7 other tools, systems, 11 references
- [3] doi:10.1371/journal.pbio.3003277 [code]
- Mapping cerebral blood perfusion and its links to multi-scale brain organization across the human lifespan.Journal: PLoS biologyIn common: statsmodels, NiBabel, seaborn, 6 other tools, structural MRI / diffusion, 13 references
- [4] doi:10.1038/s41597-023-02471-x [code]
- A large-scale fMRI dataset for the visual processing of naturalistic scenes.Journal: Scientific dataIn common: Connectome Workbench, NiBabel, seaborn, 5 other tools, 8 references, author Zonglei Zhen
- [5] doi:10.1038/s41467-025-62812-9 [code]
- Mapping the coupling between tract reachability and cortical geometry of the human brain.Journal: Nature communicationsIn common: Connectome Workbench, statsmodels, NiBabel, 7 other tools, structural MRI / diffusion, 10 references
- [6] doi:10.1371/journal.pbio.3002710 [code]
- The multiscale brain structural re-organization that occurs from childhood to adolescence correlates with cortical morphology maturation and functional specialization.Journal: PLoS biologyIn common: statsmodels, NiBabel, seaborn, 6 other tools, structural MRI / diffusion, 10 references
- [7] doi:10.1371/journal.pbio.3003378 [code]
- Humans have a longer period of cortical maturation across depth and hierarchy than macaques.Journal: PLoS biologyIn common: statsmodels, NiBabel, seaborn, 5 other tools, structural MRI / diffusion, 11 references
- [8] doi:10.1016/j.neuroimage.2023.120010 [code]
- Homotopic local-global parcellation of the human cerebral cortex from resting-state functional connectivity.Journal: NeuroImageIn common: Connectome Workbench, NiBabel, Statistics and Machine Learning Toolbox, 4 other tools, 11 references
- [9] doi:10.1038/s41467-026-76098-y [code]
- A single computational objective can produce specialization of streams in visual cortex.Journal: Nature communicationsIn common: statsmodels, NiBabel, seaborn, 6 other tools, 9 references
- [10] doi:10.1038/s41467-025-61395-9 [code]
- Double dissociation of dynamic and static face perception provides causal evidence for a third visual pathway.Journal: Nature communicationsIn common: NiBabel, seaborn, scikit-learn, 4 other tools, 9 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, 52 scripts, and 11 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:531f3933c9a75e26…
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.7554/elife.102095)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.7554/elife.102095.svg
:target: https://openscicode.org/badge/doi/10.7554/elife.102095
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.102095"><img src="https://openscicode.org/badge/doi/10.7554/elife.102095.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.
