Brainstem neurons coordinate the bladder and urethral sphincter for urination.
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 · 198 lines · 6.9 KB · Apache-2.0
- name={'1'};
- cc_peak_mouse=[];cc_all=[];cc_all_rand=[];
- for mouseNum=1:size(name,2)
- data1 = xlsread([name{mouseNum} '.xlsx'],1);
- % data2 = xlsread('data1.xlsx',2);
- %%%
- testdata1=cell(1,size(data1,2));
- for i=1:size(data1,2)
- ind=~isnan(data1(:,i));
- testdata1{i}=data1(ind,i);
- end
- % testdata2=cell(1,6);
- % for i=1:size(data2,2)
- % ind=~isnan(data2(:,i));
- % testdata2{i}=data2(ind,i);
- % end
- %%%
- fiber_data_pool=testdata1(2:2:end);
- pressure_data_pool=testdata1(1:2:end);
- fiber_data=[];pressure_data=[];
- for j=1:size(fiber_data_pool,2)
- fiber_data=[fiber_data fiber_data_pool{j}];
- StimulusData=pressure_data_pool{j};
- calclium_stimu_Time=(0:length(StimulusData)-1)/800;
- threshold = (max(StimulusData) - mean(StimulusData))*0.2+mean(StimulusData);
- PosAbove=find(StimulusData>threshold);
- diff_stimu = PosAbove(2:end) - PosAbove(1:end-1);
- if PosAbove(1)>=2
- ind_find = [PosAbove(1); PosAbove];
- end
- % plot(StimulusData)
- % hold on
- % plot(ind_find,StimulusData(ind_find),'r+')
- % 计算出压力的rate
- StimulusData_erzhi=zeros(length(StimulusData),1);
- StimulusData_erzhi(ind_find)=1;
- interval=20;pressure_data_curve=[];
- for i=1:length(StimulusData)/interval
- pressure_data_curve(i)=sum(StimulusData_erzhi((i-1)*interval+1:i*interval));
- end
- pressure_data_curve_envelop=envelope(pressure_data_curve,20,'rms');
- % figure
- % plot(pressure_data_curve_envelop)
- pressure_data=[pressure_data pressure_data_curve_envelop'];
- end
- %%%
- fs1=2000;
- fs2=800;
- data_sec=size(fiber_data,1)/fs1;
- data_length=fs2*data_sec;
- clear cc;
- for i=1:size(fiber_data,2)
- fiber_resample=fiber_data(1:50:end,i);
- presure_resample=pressure_data(1:1:end,i);
- fiber_mean=mean(fiber_resample);
- fiber_std=std(fiber_resample);
- fiber_zscore=(fiber_resample-fiber_mean)/fiber_std;
- presure_mean=mean(presure_resample);
- presure_std=std(presure_resample);
- presure_zscore=(presure_resample-presure_mean)/presure_std;
- [c,lags] = xcorr(fiber_zscore,presure_zscore,'coeff');
- cc(i,:)=c;
- end
- %%%%
- clear cc_rand cc_rand_all pos_rand_all;
- pressure_data_long=reshape(pressure_data(1:1:end,:),[size(pressure_data(1:1:end,:),1)*size(pressure_data(1:1:end,:),2), 1]);
- for n=1:10
- for i=1:size(fiber_data,2)
- fiber_resample=fiber_data(1:50:end,i);
- pos_rand_all(n,i)=randsample(length(pressure_data_long)-size(pressure_data(1:1:end,:),1),1);
- presure_resample=pressure_data_long(pos_rand_all(n,i)+1:pos_rand_all(n,i)+size(pressure_data(1:1:end,:),1));
- fiber_mean=mean(fiber_resample);
- fiber_std=std(fiber_resample);
- fiber_zscore=(fiber_resample-fiber_mean)/fiber_std;
- presure_mean=mean(presure_resample);
- presure_std=std(presure_resample);
- presure_zscore=(presure_resample-presure_mean)/presure_std;
- [c,lags] = xcorr(fiber_zscore,presure_zscore,'coeff');
- cc_rand_all(n,i,:)=c;
- end
- end
- cc_rand=squeeze(mean(cc_rand_all,1));
- %%%%
- lags_time=lags/40;
- cc_peak=zeros(1,size(cc,1));
- cc_peak_rand=zeros(1,size(cc,1));
- figure;
- %set(gcf,'visible','off')
- for j=1:size(cc,1)
- % subplot(15,10,j);
- set(gca,'FontSize',5);
- mean_trial=cc(:,:);
- mean_trial_rand=cc_rand(:,:);
- plot(lags_time,cc(j,:),'r');
- hold on;
- plot(lags_time,cc_rand(j,:),'k');
- set(gca,'xlim',[-80 80]);
- set(gca,'ylim',[-1 1]);
- xlabel('Lags (s)');
- ylabel('Cross correlation');
- title(['Mouse ' num2str(j)]);
- cc_peak(j)=max(cc(j,:));
- cc_peak_rand(j)=max(cc_rand(j,:));
- box off
- ax = gca;
- ax.XAxis.TickDirection = 'out';
- ax.YAxis.TickDirection = 'out';
- end
- subplot(2,4,1)
- plot(lags_time,mean(cc),'r')
- hold on;
- plot(lags_time,mean(cc_rand),'k');
- title('average')
- box off
- cc_all=[cc_all;mean(cc)];
- cc_all_rand=[cc_all_rand;mean(cc_rand)];
- %
- subplot(2,4,2);
- set(gca,'FontSize',5);
- hold on;
- for k=1:length(cc_peak)
- plot([1 2],[cc_peak(k), cc_peak_rand(k)],'color',0.7*[1 1 1],'LineWidth',3);
- end
- plot(ones(1,length(cc_peak)),cc_peak,'o','color',0.7*[1 1 1],'LineWidth',3,'MarkerSize',20,'MarkerFace',[1 0 0]);
- 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]);
- set(gca,'ylim',[0 1]);
- set(gca,'xlim',[0 3]);
- set(gca,'xtick',1:2);
- set(gca,'xticklabel',{'data','shuffled'});
- ylabel('Correlation coefficient');
- set(gcf,'Position',[100,100,1600,800])
- saveas(gcf,name{mouseNum},'tif')
- print('-depsc2','-painters',[name{mouseNum} '.eps']);
- %close
- cc_peak_mouse=[cc_peak_mouse;[mean(cc_peak),mean(cc_peak_rand)]];
- end
- save('cc','cc_peak_mouse','cc_all','cc_all_rand','lags_time')
- %% avearge
- load('cc.mat')
- figure
- subplot(3,4,1)
- data_plot{1,1}=cc_all;
- data_plot{2,1}=cc_all_rand;
- colorsem=[1 0 0;0 0 0]*0.1;
- colorcodes=[1 0 0;0 0 0];
- for k=1:size(data_plot,1)
- DataGroupMean_NB=mean(data_plot{k,1},1)';
- DataGroupSem_NB=sem(data_plot{k,1})';
- set(gca,'FontSize',10);
- Time=lags_time';
- 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);
- set(hf,'edgec',colorsem(k,:));
- hold on;
- plot(Time,DataGroupMean_NB,'color',colorcodes(k,:),'LineWidth',1);
- end
- xlim([-50 50])
- ylim([-0.4 1])
- xlabel('Time (min)')
- box off
- set(gca,'FontSize',15);
- subplot(3,4,2)
- set(gca,'FontSize',15);
- hold on;
- for k=1:length(cc_peak_mouse)
- plot([1 2],[cc_peak_mouse(k,1), cc_peak_mouse(k,2)],'color',0.7*[1 1 1],'LineWidth',2);
- end
- 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]);
- 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]);
- p=signrank(cc_peak_mouse(:,1), cc_peak_mouse(:,2));
- %p=ranksum(cc_peak_mouse(:,1), cc_peak_mouse(:,2)); %un-paired
- text(1.5,max(max(cc_peak_mouse))*0.8,['p = ' num2str(p)])
- set(gca,'ylim',[0 1]);
- set(gca,'xlim',[0 3]);
- set(gca,'xtick',1:2);
- set(gca,'xticklabel',{'data','shuffled'});
- ylabel('Correlation coefficient');
- set(gcf,'Position',get(0,'ScreenSize'))
- saveas(gcf,name{mouseNum},'tif')
- print('-depsc2','-painters',[name{mouseNum} 'average.eps']);
- %close
Calcium_EMG_crosscorrelation.m at commit afdb515, under Apache-2.0 · at the source
Overview
- Advanced Institute for Brain and Intelligence, School of Physical Science and Technology, Guangxi University, Nanning, China
- Brain Research Center and State Key Laboratory of Trauma and Chemical Poisoning, Third Military Medical University, Chongqing, China
- Department of Urology, PLA Naval Medical Center, Naval Medical University, Shanghai, China
- LFC Laboratory and Chongqing Institute for Brain and Intelligence, Guangyang Bay Laboratory, Chongqing, China
- Center for Neurointelligence, School of Medicine, Chongqing University, Chongqing, China
- Leibniz Institute for Neurobiology, Magdeburg, Germany
- Suzhou Institute of Biomedical Engineering and Technology, Chinese Academy of Sciences, Suzhou, China
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
afdb51517ddaf7d0a963764edeb43050c3bf44e7, 5 August 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
8 files
- Calcium_EMG_crosscorrela
tion.m , MATLAB, 198 lines - Calcium_peak_detection.m
, MATLAB, 37 lines - Calcium_pressure_crossco
rrelation.m , MATLAB, 76 lines - Extract_pressure_EMG_opt
ogenetic.m , MATLAB, 157 lines - envelope.m, MATLAB, 216 lines
- sem.m, MATLAB, 3 lines
- LICENSE.txt, License, 201 lines
- README.md, Text, 10 lines
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
- doi:10.5061/
dryad.vdncjszbc , at Dryad; found in “Data availability”
Data availability
The source data are available from the Dryad Digital Repository: https://
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://
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/
url = {https://
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/
VL - 13
SP - RP103224
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": "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":
"volume": "13",
"page": "RP103224",
"DOI": "10.7554/
"PMID": "42559936",
"PMCID": "PMC13446904",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"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 reportsIn common: Statistics and Machine Learning Toolbox, mouse, cellular / molecular, 7 references
- [2] doi:10.7554/elife.99989 [code]
- Tonotopy is not preserved in a descending stage of auditory cortex.Journal: eLifeIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, 2 authors
- [3] doi:10.1038/s41467-023-43620-5 [code]
- Holistic bursting cells store long-term memory in auditory cortex.Journal: Nature communicationsIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, 2 authors
- [4] doi:10.1038/s41467-022-29229-0
- Brain-wide projection reconstruction of single functionally defined neurons.Journal: Nature communicationsIn common: mouse, 2 authors
- [5] doi:10.1016/j.isci.2023.106625
- Rabies virus-based labeling of layer 6 corticothalamic neurons for two-photon imaging <i>in vivo</
i>. Journal: iScienceIn common: cellular / molecular, 2 authors - [6] doi:10.7717/peerj.17398 [code]
- Automated identification and segmentation of urine spots based on deep-learning.Journal: PeerJIn common: mouse, 5 references
- [7] doi:10.1016/j.isci.2026.114850
- &
lt;i& gt;In vivo& lt;/ i& gt; reprogramming of NG2 glia improves bladder function after spinal cord injury. Journal: iScienceIn common: cellular / molecular, 4 references - [8] doi:10.3390/neurolint17100156
- The Neuroanatomical Correlates of Bladder Filling: An Activation Likelihood Estimation Meta-Analysis of Functional Neuroimaging Studies.Journal: Neurology internationalIn common: 4 references
- [9] doi:10.3389/fncel.2023.1127847 [code]
- NeuroSeg-II: A deep learning approach for generalized neuron segmentation in two-photon Ca<sup>2+</
sup> imaging. Journal: Frontiers in cellular neuroscienceIn common: Signal Processing Toolbox, Statistics and Machine Learning Toolbox, author Hongbo Jia - [10] doi:10.1117/1.nph.11.4.045010
- Mapping multi-regional functional connectivity of astrocyte-neuronal networks during behaviors.Journal: NeurophotonicsIn common: mouse, cellular / molecular, author Han Qin
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: 1 repository of the authors' code, each at its verified commit and with its license, 6 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:65169ca8bb7c862c…
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.103224)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.7554/elife.103224.svg
:target: https://openscicode.org/badge/doi/10.7554/elife.103224
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.103224"><img src="https://openscicode.org/badge/doi/10.7554/elife.103224.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.
