OSCR

Brainstem neurons coordinate the bladder and urethral sphincter for urination.

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, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

MATLAB · 198 lines · 6.9 KB · Apache-2.0

  1. name={'1'};
  2. cc_peak_mouse=[];cc_all=[];cc_all_rand=[];
  3. for mouseNum=1:size(name,2)
  4. data1 = xlsread([name{mouseNum} '.xlsx'],1);
  5. % data2 = xlsread('data1.xlsx',2);
  6. %%%
  7. testdata1=cell(1,size(data1,2));
  8. for i=1:size(data1,2)
  9. ind=~isnan(data1(:,i));
  10. testdata1{i}=data1(ind,i);
  11. end
  12. % testdata2=cell(1,6);
  13. % for i=1:size(data2,2)
  14. % ind=~isnan(data2(:,i));
  15. % testdata2{i}=data2(ind,i);
  16. % end
  17. %%%
  18. fiber_data_pool=testdata1(2:2:end);
  19. pressure_data_pool=testdata1(1:2:end);
  20. fiber_data=[];pressure_data=[];
  21. for j=1:size(fiber_data_pool,2)
  22. fiber_data=[fiber_data fiber_data_pool{j}];
  23. StimulusData=pressure_data_pool{j};
  24. calclium_stimu_Time=(0:length(StimulusData)-1)/800;
  25. threshold = (max(StimulusData) - mean(StimulusData))*0.2+mean(StimulusData);
  26. PosAbove=find(StimulusData>threshold);
  27. diff_stimu = PosAbove(2:end) - PosAbove(1:end-1);
  28. if PosAbove(1)>=2
  29. ind_find = [PosAbove(1); PosAbove];
  30. end
  31. % plot(StimulusData)
  32. % hold on
  33. % plot(ind_find,StimulusData(ind_find),'r+')
  34. % 计算出压力的rate
  35. StimulusData_erzhi=zeros(length(StimulusData),1);
  36. StimulusData_erzhi(ind_find)=1;
  37. interval=20;pressure_data_curve=[];
  38. for i=1:length(StimulusData)/interval
  39. pressure_data_curve(i)=sum(StimulusData_erzhi((i-1)*interval+1:i*interval));
  40. end
  41. pressure_data_curve_envelop=envelope(pressure_data_curve,20,'rms');
  42. % figure
  43. % plot(pressure_data_curve_envelop)
  44. pressure_data=[pressure_data pressure_data_curve_envelop'];
  45. end
  46. %%%
  47. fs1=2000;
  48. fs2=800;
  49. data_sec=size(fiber_data,1)/fs1;
  50. data_length=fs2*data_sec;
  51. clear cc;
  52. for i=1:size(fiber_data,2)
  53. fiber_resample=fiber_data(1:50:end,i);
  54. presure_resample=pressure_data(1:1:end,i);
  55. fiber_mean=mean(fiber_resample);
  56. fiber_std=std(fiber_resample);
  57. fiber_zscore=(fiber_resample-fiber_mean)/fiber_std;
  58. presure_mean=mean(presure_resample);
  59. presure_std=std(presure_resample);
  60. presure_zscore=(presure_resample-presure_mean)/presure_std;
  61. [c,lags] = xcorr(fiber_zscore,presure_zscore,'coeff');
  62. cc(i,:)=c;
  63. end
  64. %%%%
  65. clear cc_rand cc_rand_all pos_rand_all;
  66. pressure_data_long=reshape(pressure_data(1:1:end,:),[size(pressure_data(1:1:end,:),1)*size(pressure_data(1:1:end,:),2), 1]);
  67. for n=1:10
  68. for i=1:size(fiber_data,2)
  69. fiber_resample=fiber_data(1:50:end,i);
  70. pos_rand_all(n,i)=randsample(length(pressure_data_long)-size(pressure_data(1:1:end,:),1),1);
  71. presure_resample=pressure_data_long(pos_rand_all(n,i)+1:pos_rand_all(n,i)+size(pressure_data(1:1:end,:),1));
  72. fiber_mean=mean(fiber_resample);
  73. fiber_std=std(fiber_resample);
  74. fiber_zscore=(fiber_resample-fiber_mean)/fiber_std;
  75. presure_mean=mean(presure_resample);
  76. presure_std=std(presure_resample);
  77. presure_zscore=(presure_resample-presure_mean)/presure_std;
  78. [c,lags] = xcorr(fiber_zscore,presure_zscore,'coeff');
  79. cc_rand_all(n,i,:)=c;
  80. end
  81. end
  82. cc_rand=squeeze(mean(cc_rand_all,1));
  83. %%%%
  84. lags_time=lags/40;
  85. cc_peak=zeros(1,size(cc,1));
  86. cc_peak_rand=zeros(1,size(cc,1));
  87. figure;
  88. %set(gcf,'visible','off')
  89. for j=1:size(cc,1)
  90. % subplot(15,10,j);
  91. set(gca,'FontSize',5);
  92. mean_trial=cc(:,:);
  93. mean_trial_rand=cc_rand(:,:);
  94. plot(lags_time,cc(j,:),'r');
  95. hold on;
  96. plot(lags_time,cc_rand(j,:),'k');
  97. set(gca,'xlim',[-80 80]);
  98. set(gca,'ylim',[-1 1]);
  99. xlabel('Lags (s)');
  100. ylabel('Cross correlation');
  101. title(['Mouse ' num2str(j)]);
  102. cc_peak(j)=max(cc(j,:));
  103. cc_peak_rand(j)=max(cc_rand(j,:));
  104. box off
  105. ax = gca;
  106. ax.XAxis.TickDirection = 'out';
  107. ax.YAxis.TickDirection = 'out';
  108. end
  109. subplot(2,4,1)
  110. plot(lags_time,mean(cc),'r')
  111. hold on;
  112. plot(lags_time,mean(cc_rand),'k');
  113. title('average')
  114. box off
  115. cc_all=[cc_all;mean(cc)];
  116. cc_all_rand=[cc_all_rand;mean(cc_rand)];
  117. %
  118. subplot(2,4,2);
  119. set(gca,'FontSize',5);
  120. hold on;
  121. for k=1:length(cc_peak)
  122. plot([1 2],[cc_peak(k), cc_peak_rand(k)],'color',0.7*[1 1 1],'LineWidth',3);
  123. end
  124. plot(ones(1,length(cc_peak)),cc_peak,'o','color',0.7*[1 1 1],'LineWidth',3,'MarkerSize',20,'MarkerFace',[1 0 0]);
  125. plot(2*ones(1,length(cc_peak_rand)),cc_peak_rand,'o','color',0.7*[1 1 1],'LineWidth',3,'MarkerSize',20,'MarkerFace',[0 0 0]);
  126. set(gca,'ylim',[0 1]);
  127. set(gca,'xlim',[0 3]);
  128. set(gca,'xtick',1:2);
  129. set(gca,'xticklabel',{'data','shuffled'});
  130. ylabel('Correlation coefficient');
  131. set(gcf,'Position',[100,100,1600,800])
  132. saveas(gcf,name{mouseNum},'tif')
  133. print('-depsc2','-painters',[name{mouseNum} '.eps']);
  134. %close
  135. cc_peak_mouse=[cc_peak_mouse;[mean(cc_peak),mean(cc_peak_rand)]];
  136. end
  137. save('cc','cc_peak_mouse','cc_all','cc_all_rand','lags_time')
  138. %% avearge
  139. load('cc.mat')
  140. figure
  141. subplot(3,4,1)
  142. data_plot{1,1}=cc_all;
  143. data_plot{2,1}=cc_all_rand;
  144. colorsem=[1 0 0;0 0 0]*0.1;
  145. colorcodes=[1 0 0;0 0 0];
  146. for k=1:size(data_plot,1)
  147. DataGroupMean_NB=mean(data_plot{k,1},1)';
  148. DataGroupSem_NB=sem(data_plot{k,1})';
  149. set(gca,'FontSize',10);
  150. Time=lags_time';
  151. hf=fill([Time;Time(end:-1:1)],[DataGroupMean_NB+DataGroupSem_NB;DataGroupMean_NB(end:-1:1)-DataGroupSem_NB(end:-1:1)]',colorsem(k,:),'edgealpha',0,'facealpha',0.1);
  152. set(hf,'edgec',colorsem(k,:));
  153. hold on;
  154. plot(Time,DataGroupMean_NB,'color',colorcodes(k,:),'LineWidth',1);
  155. end
  156. xlim([-50 50])
  157. ylim([-0.4 1])
  158. xlabel('Time (min)')
  159. box off
  160. set(gca,'FontSize',15);
  161. subplot(3,4,2)
  162. set(gca,'FontSize',15);
  163. hold on;
  164. for k=1:length(cc_peak_mouse)
  165. plot([1 2],[cc_peak_mouse(k,1), cc_peak_mouse(k,2)],'color',0.7*[1 1 1],'LineWidth',2);
  166. end
  167. plot(ones(1,length(cc_peak_mouse)),cc_peak_mouse(:,1),'o','color',0.7*[1 1 1],'LineWidth',2,'MarkerSize',10,'MarkerFace',[1 0 0]);
  168. plot(2*ones(1,length(cc_peak_mouse)),cc_peak_mouse(:,2),'o','color',0.7*[1 1 1],'LineWidth',2,'MarkerSize',10,'MarkerFace',[0 0 0]);
  169. p=signrank(cc_peak_mouse(:,1), cc_peak_mouse(:,2));
  170. %p=ranksum(cc_peak_mouse(:,1), cc_peak_mouse(:,2)); %un-paired
  171. text(1.5,max(max(cc_peak_mouse))*0.8,['p = ' num2str(p)])
  172. set(gca,'ylim',[0 1]);
  173. set(gca,'xlim',[0 3]);
  174. set(gca,'xtick',1:2);
  175. set(gca,'xticklabel',{'data','shuffled'});
  176. ylabel('Correlation coefficient');
  177. set(gcf,'Position',get(0,'ScreenSize'))
  178. saveas(gcf,name{mouseNum},'tif')
  179. print('-depsc2','-painters',[name{mouseNum} 'average.eps']);
  180. %close

Calcium_EMG_crosscorrelation.m at commit afdb515, under Apache-2.0 · at the source

Overview

Authors: Xing Li1, Xianping Li2,3, Jun Li1, Han Qin4, Shanshan Liang2, Jun Li2, Tingliang Jian2, Xia Wang5, Lingxuan Yin1, Chunhui Yuan3, Xiang Liao5, Hongbo Jia1,6,7, Xiaowei Chen2,4, Jiwei Yao3
  1. Advanced Institute for Brain and Intelligence, School of Physical Science and Technology, Guangxi University, Nanning, China
  2. Brain Research Center and State Key Laboratory of Trauma and Chemical Poisoning, Third Military Medical University, Chongqing, China
  3. Department of Urology, PLA Naval Medical Center, Naval Medical University, Shanghai, China
  4. LFC Laboratory and Chongqing Institute for Brain and Intelligence, Guangyang Bay Laboratory, Chongqing, China
  5. Center for Neurointelligence, School of Medicine, Chongqing University, Chongqing, China
  6. Leibniz Institute for Neurobiology, Magdeburg, Germany
  7. Suzhou Institute of Biomedical Engineering and Technology, Chinese Academy of Sciences, Suzhou, China
Journal: eLife, volume 13, article RP103224
Dates: published online 6 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.103224 · PMID 42559936 · PMCID PMC13446904 · OpenAlex W4404909933
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: mouse (organism), cellular / molecular (subfield)
Methods: Preprocessing, Connectivity, Statistics, Machine learning, Spectral & time-frequency, Single-unit activity, calcium imaging, Smoothing, state filtering, decompositions, Physiology & signal measures
Keywords: Mouse
MeSH: Brain Stem*, Neurons*, Urethra*, Urinary Bladder*, Urination*, Animals, Estrogen Receptor alpha, Female, Mice (* major topic)
Topic: Urinary Bladder and Prostate Research (Urology, Medicine), according to OpenAlex
Funding: National Natural Science Foundation of China (31925018, 32127801); National Key Research and Development Program of China (2021YFA0805000); Guangxi Talent Program (Highland of Innovation Talents); Jiangsu Provincial Big Science Facility Initiative (BM2022010); Suzhou Science and Technology Plan Project (SZS2022008)
Citations: cited by 3 papers (Europe PMC); 72 references in the paper

Abstract

Urination, a vital and conserved process of emptying urine from the urinary bladder in mammals, requires precise coordination between the bladder and external urethral sphincter (EUS) that is tightly controlled by a complex neural network. However, the specific subpopulation of neurons that accounts for such coordination remains unidentified, limiting the development of target-specific therapies for certain urination disorders, for example, detrusor–sphincter dyssynergia. Here, we find that cells expressing estrogen receptor 1 (ESR1+) in the pontine micturition center (PMC) initiate voiding when activated and suspend ongoing voiding when suppressed, each at 100% reliability. Transection of the pelvic nerve does not impair PMCESR1+ neurons’ control of the EUS via the pudendal nerve, whereas transection of the pudendal nerve does not impair their control of the bladder via the pelvic nerve. Anatomically, PMCESR1+ neurons consist of three distinct spinal-projection-based subpopulations: one targeting the sacral parasympathetic nucleus, one innervating the dorsal gray commissure, and a third that projects to both regions, thereby enforcing the coordination of bladder contraction and sphincter relaxation in a rigid temporal sequence. Thus, we identify a cell type in the brainstem that controls the bladder–urethra coordination for urination.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

xieyangshuying/Brainstem-neurons-coordinate-the-bladder-and-urethral-sphincter-for-urination

License: Apache-2.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: afdb51517ddaf7d0a963764edeb43050c3bf44e7, 5 August 2026
Languages: MATLAB (6)
Size: 8 files, 6 scripts
Software Heritage: not checked
Found in: “Data availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
8 files

The paper's code and data availability statement is in the Data section.

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 6 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

Datasets cited

Data availability

The source data are available from the Dryad Digital Repository: https://doi.org/10.5061/dryad.vdncjszbc. The source code supporting the findings of this study is openly hosted in a public repository on GitHub and can be accessed at: https://github.com/xieyangshuying/Brainstem-neurons-coordinate-the-bladder-and-urethral-sphincter-for-urination, copy archived at xieyangshuying, 2026.

The following dataset was generated:

Li X, Li X, Li J, Qin H, Liang S, Li J, Jian T, Wang X, Yin L, Yuan C, Liao X, Jia H, Chen X, Yao J. 2026. Data from: Brainstem neurons coordinate the bladder and urethral sphincter for urination. Dryad Digital Repository.

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 14 authors, 1 keyword, 9 MeSH terms, 5 funders, 72 references.

Cite

This paper

Li, X., Li, X., Li, J., Qin, H., Liang, S., Li, J., Jian, T., Wang, X., Yin, L., Yuan, C., Liao, X., Jia, H., Chen, X., & Yao, J. (2026). Brainstem neurons coordinate the bladder and urethral sphincter for urination. eLife, 13, RP103224. https://doi.org/10.7554/elife.103224

BibTeX

@article{li2026brainstem,
author = {Li, Xing and Li, Xianping and Li, Jun and Qin, Han and Liang, Shanshan and Li, Jun and Jian, Tingliang and Wang, Xia and Yin, Lingxuan and Yuan, Chunhui and Liao, Xiang and Jia, Hongbo and Chen, Xiaowei and Yao, Jiwei},
title = {{Brainstem neurons coordinate the bladder and urethral sphincter for urination}},
journal = {eLife},
year = {2026},
month = aug,
volume = {13},
pages = {RP103224},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.103224},
url = {https://doi.org/10.7554/elife.103224},
pmid = {42559936},
pmcid = {PMC13446904}
}

RIS

TY - JOUR
AU - Li, Xing
AU - Li, Xianping
AU - Li, Jun
AU - Qin, Han
AU - Liang, Shanshan
AU - Li, Jun
AU - Jian, Tingliang
AU - Wang, Xia
AU - Yin, Lingxuan
AU - Yuan, Chunhui
AU - Liao, Xiang
AU - Jia, Hongbo
AU - Chen, Xiaowei
AU - Yao, Jiwei
TI - Brainstem neurons coordinate the bladder and urethral sphincter for urination
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/08/06
VL - 13
SP - RP103224
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.103224
UR - https://doi.org/10.7554/elife.103224
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.103224",
"type": "article-journal",
"title": "Brainstem neurons coordinate the bladder and urethral sphincter for urination",
"container-title": "eLife",
"author": [
{
"family": "Li",
"given": "Xing"
},
{
"family": "Li",
"given": "Xianping"
},
{
"family": "Li",
"given": "Jun"
},
{
"family": "Qin",
"given": "Han"
},
{
"family": "Liang",
"given": "Shanshan"
},
{
"family": "Li",
"given": "Jun"
},
{
"family": "Jian",
"given": "Tingliang"
},
{
"family": "Wang",
"given": "Xia"
},
{
"family": "Yin",
"given": "Lingxuan"
},
{
"family": "Yuan",
"given": "Chunhui"
},
{
"family": "Liao",
"given": "Xiang"
},
{
"family": "Jia",
"given": "Hongbo"
},
{
"family": "Chen",
"given": "Xiaowei"
},
{
"family": "Yao",
"given": "Jiwei"
}
],
"container-title-short": "eLife",
"volume": "13",
"page": "RP103224",
"DOI": "10.7554/elife.103224",
"PMID": "42559936",
"PMCID": "PMC13446904",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.103224",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
6
]
]
}
}

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.1016/j.celrep.2026.117432 [code]
Male and female mice scent mark during social communication regardless of sexual motivation or partner identity.
Journal: Cell reports
In common: Statistics and Machine Learning Toolbox, mouse, cellular / molecular, 7 references
[2] doi:10.1038/s42003-026-10262-4 [code]
Brain-wide information flow dynamics during novel visual processing in humans.
Journal: Communications biology
In common: Statistics and Machine Learning Toolbox, author Xiaowei Chen
[3] doi:10.1038/s41586-026-10354-5 [code]
The neural mechanisms supporting the rise and fall of maternal aggression.
Journal: Nature
In common: mouse, cellular / molecular, 3 references
[4] doi:10.1038/s41377-026-02252-2
Ultra-wide-field, deep, adaptive two-photon microscopy for multi-scale neuronal imaging.
Journal: Light, science & applications
In common: author Hongbo Jia
[5] doi:10.7554/elife.106347 [code]
Esr1-dependent signaling and transcriptional maturation in the medial preoptic area of the hypothalamus shape the development of mating behavior during adolescence.
Journal: eLife
In common: mouse, 2 references
[6] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, cellular / molecular
[7] doi:10.1126/sciadv.aee9298 [code]
Synaptic zinc plasticity shapes adaptive and maladaptive cortical plasticity following cochlear injury.
Journal: Science advances
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, cellular / molecular
[8] doi:10.1002/glia.70181 [code]
Female Mice Show Stronger Time-of-Day Modulation of Astrocytic Ca<sup>2+</sup> Activity in the Sleep-Regulatory Ventrolateral Preoptic Nucleus.
Journal: Glia
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, cellular / molecular
[9] doi:10.1126/sciadv.adx5109 [code]
Substance P regulates Tacr1 neurons, which control nitric oxide-mediated neurovascular coupling in the mouse cortex.
Journal: Science advances
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, cellular / molecular
[10] doi:10.1038/s41467-026-74228-0 [code]
Spatial and network principles behind neural generation of locomotion.
Journal: Nature communications
In common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, cellular / molecular

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.

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.