Neural spatiotemporal dynamic barcoding and methods of assessing changes in cortical dynamics using the same
12471829 ยท 2025-11-18
Assignee
Inventors
- Jordan Michael CULP (Calgary, CA)
- Wilten Nicola (Calgary, CA)
- ALEXANDER ROBERT ANGUS MCGIRR (Calgary, CA)
Cpc classification
A61B5/37
HUMAN NECESSITIES
A61B5/055
HUMAN NECESSITIES
A61B5/0059
HUMAN NECESSITIES
A61B5/7264
HUMAN NECESSITIES
International classification
Abstract
Methods of generating, visualizing and comparing Markovian neural barcodes mesoscale cortical spatiotemporal data are provided.
Claims
1. A method of assessing for a change in cortical spatiotemporal dynamics, the method comprising generating a first and a second neural barcode, and comparing the first neural barcode and second neural barcode, wherein the first neural barcode and the second neural barcode are each generated by a method comprising: acquiring dynamic mesoscale imaging from a subject's brain, applying a state-space discretization to the dynamic mesoscale imaging to obtain a plurality of zones, wherein each zone in the plurality of zones is a cluster of interest, tracking dynamics in the mesoscale imaging, or magnetic resonance imaging, or spectroscopy imaging, or electroencephalography, or magnetoencephalography or neural activity data, from one zone to a next zone; creating a transitional probability matrix to define the probability of crossing from one zone to the next zone, determining an occupancy distribution of each zone, and constructing, by the processing device, a neural barcode by unwrapping each transition probability matrix row by row and concatenating with the occupancy distribution.
2. The method of claim 1, wherein the first neural barcode is a normative neural barcode and the second neural barcode is from a subject.
3. The method of claim 2, wherein the subject is suspected of having a neurological or neuropsychiatric disease.
4. The method of claim 2, wherein the first and second neural barcodes are from the same individual and the first neural barcode is from a first time point and the second neural barcode is from a second time point and wherein the method assess change in cortical spatiotemporal dynamics in an individual.
5. The method of claim 4, wherein the method is for assessing disease progression.
6. The method of claim 4, wherein between the first time point and the second time point the individual has received a treatment.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) These and other features of the invention will become more apparent in the following detailed description in which reference is made to the appended drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
DETAILED DESCRIPTION OF THE INVENTION
(22) The methods of the invention comprise recording mesoscale spatiotemporal data from a subject's brain. As used herein the term subject generally refers to an animal, such as a mammalian species (e.g., primate including humans) or avian (e.g., bird) species or reptilian species. Mammalian subjects include mouse, rat. a primate, a simian, a human, a dog, or a cat. Animals may include, but are not limited to, farm animals, sport animals, and pets. A subject can be a healthy or asymptomatic individual, an individual that has or is suspected of having a disease (e.g., a neurological disorder) or a pre-disposition to the disease, or an individual that is in need of therapy or suspected of needing therapy. In some embodiments, the subject is a patient.
(23) The invention provides methods of generating, visualizing and comparing Markovian neural barcodes. The neural barcodes represent mesoscale cortical spatiotemporal dynamics. The invention uses a Continuous Time Markov Chain (CTMC) model.sup.22 to extract the temporal structure of mesoscale cortical activity motifs with a generalizable set of Elements. These elements describe discrete neocortical activity motifs, the probabilistic sequence of which reveals a common grammar to neocortical dynamics. This grammar can be visualized as a Markovian neural barcode, allowing for the differences and similarities in mesoscale activity dynamics to be readily apparent. These neural barcodes allow for the comparison of cortical spatiotemporal dynamics between individuals and/or overtime wherein differences may be indicative of biological changes.
(24) The invention further provides methods for analyzing biological or pathological changes in cortical spatiotemporal dynamics by transforming mesoscale spatiotemporal data to Markovian neural barcodes. In particular, the methods of the invention provide a compact representation of cortical spatiotemporal dynamics, thereby avoiding the conventional big-data problem of mesoscale raw recordings such that a comparison between recordings can be made.
(25) Spatiotemporal data including mesoscale, whole brain or data covering multiple areas of the brain may be obtained by methods known in the art that use genetically encoded neural activity indicators, organic dyes, transgenic mice, fMRI (functional magnetic resonance imaging), EEG, (electroencepholograph), electrocorticography (ECOG) intracranial EEG, magnetoencepholography (MEG), data obtained using implanted electrodes (e.g. neuropixels probes) or any other measure of neural activity.
(26) Referring to
(27) Sampling the Initial Discrete Markov States
(28) To construct a global Markov Element set for a specific type of animal or human, a pre-determined number of frames are randomly sampled (optionally 20, 25, 30, 35, 50 or more frames) from a pre-determined number of recordings (less than 500, at least 500, at least 750, at least 850, at least 900, at least 950 or 1000 or more recordings) across a variety of conditions including drug, acute chronic stress, acute stress, control, and visual stimulus conditions. The sampled frames are stored into a single data matrix. A global mask was then applied to each frame in this data matrix and a K-Means clustering algorithm or semi-binary non-negative negative matrix factorization is used with a choice of between 100-200, optionally 200 clustering centroids. Optionally, manually curated the Markov Elements to remove Elements typified by artifacts, including blood vessel prominence at the conclusion of bouts of movement, shadows in the imaging field, and window imperfections and functionally duplicative Markov Elements to obtain a final basis set of global Markov Elements (denoted at B) having x individual Markov Elements. In some embodiments, there is between 1 to over 5,000 individual Markov Elements. In some embodiments, there is 115 individual Markov Elements.
(29) Constructing the Markov Chain Model
(30) The global Markov Element set is denoted as B. The number of individual Markov Elements denoted as X. To construct a Markov chain model, M, for a given recording, R, with n.sub.f frames, each data frame, R.sub.i, i[1, 2, . . . , n.sub.f], is paired with a corresponding global Markov Element, B.sub.k, k[1, 2, . . . , x,], by finding the index k that solves
(31)
(32) The index, {circumflex over (k)}, that minimizes the sum of squares difference above, is the assigned Markov element, M.sub.i={circumflex over (k)}, for frame R.sub.i of R.
(33) Estimating Transition Probability Matrices And Occupancy Distributions
(34) The Markov chain model provides an unconditional description of cortical activity states through proportional distribution of Markov Elements during a given epoch of cortical activity as provided by the occupancy distribution. Here, a consistent estimator of the occupancy distribution is given from the distribution of observed frequencies in the Markov chain. The unconditional probability for the i.sup.th state is given by
(35)
where m.sub.i is the i.sup.th element in the x element state space, and N(X) counts the occurrence, or frequency, of element X in the chain model. In the construction of the occupancy distribution, contiguous frames that occupy the same Markov Element, so called self-transitions, are considered.
(36) From the Markov chain mode, the conditional probabilities for the corresponding transition probability matrix, P, are derived by the maximum likelihood estimates.sup.38.
(37)
(38) In the case where state m.sub.i does not occur in the chain, it is assumed that p.sub.ij=0, j[1, . . . , x]. Optionally, the transition probability matrix is computed without self-transition.
(39) Neural Barcode Construction
(40) To construct a neural barcode the transition probability matrix was unwrapped, xx, for each recording into a vector, 1x.sup.2, and concatenating it's associated occupancy distribution, 1x. Thus for an analysis with k recordings, where x is 115, the corresponding neural barcode is of size k(115.sup.2+115)=k13,340. For computational and visual convenience, recordings representing a common condition are grouped together in the corresponding neural barcode. For plotting clarity, columns of the neural barcode with all 0 entries, corresponding to transitions that never occurred, may be removed.
(41) In some embodiments, the noise is removed from the neural barcode. Noise in the neural barcode is either fixed in time, due to individual heterogeneity and represents normal deviations between individuals or represents a sampling error in estimating occupancy or transition probabilities.
(42) Noise resulting from heterogeneity is identified and optionally removed by elements from the neural barcode that have been identified by repeatedly sampling over periods of time neural recordings from multiple individuals as being highly heterogeneous.
(43) Noise resulting sampling error is reduced by setting the minimum recording time to a length greater that the time required for the neural barcode vector to converge.
(44) Determining a Normative Barcode
(45) Optionally, in some embodiments, a standard barcode is determined. To generate a standard barcode reflective of a normative or non-disease/non-pathological state, repeated measurements of the neural barcode from a large group of individuals classified as in the normative or non-disease state are obtained. The plurality of normative or non-pathological state neural barcodes are used in a comparison distribution.
(46) Comparing Neural Barcodes
(47) Optional neural barcodes can be compared. In some embodiments, neural barcodes of an individual are compared to a baseline or normative barcode to identify differences in the test individual's barcode.
(48) To conduct the comparison, a single recording is obtained from an individual. The distance between the vectors for the normative barcode distribution and the test individual are optionally transformed into a z-score, or other statistical distance metric. If the probability that the individual's neural barcode is generated from the sampled distribution of normal individuals is high, the test individual's neural barcode is classified as a normal barcode. If the probability that the individual's neural barcode is generated from the sample distribution of normal individuals is low, the text individual's neural barcode is classified as aberrant.
(49) Alternatively, in some embodiments, an individual's neural barcode is compared to one or more earlier neural barcodes such that changes are tracked overtime. Changes overtime may be indicative of changes in disease state.
(50) Optionally, multiple recordings from a defined time period for a single individual can be combined to form a baseline neural barcode. In particular, in some embodiments, subtle, long-term changes to brain dynamics of an individual are assessed by repeated recordings. The same set of discrete states that define Markov Elements are used to analyze all recordings and define cross-comparable neural barcodes from different recording times. Optionally, the recordings can be days, weeks, months apart. In some embodiments, sets of recordings are compared, wherein each set includes a plurality of recordings taken with a short time frame, optionally hours or days apart. The subsequent sets of recording are taken under comparable conditions and timing to the first set. The neural barcode determined from the first set of recordings is used as baseline to determine long term changes.
(51) In some embodiments, neural barcodes are compared using an intra-inter group analysis.
(52) For intra-inter group analysis, principal component analysis is first applied to the relevant neural barcode with columns of zero mean removed, and the first five principal components for each recording are stored in a new reduced coefficient matrix. A pairwise distance matrix, say M, is then calculated from the rows of the previous reduced principal component matrix using the Euclidean norm.
(53) To quantify the separation in principal component space between a baseline group, G.sub.B, and condition group, G.sub.C, the corresponding intra-inter group distances is found from M. If the rows of M that correspond to the baseline recordings are b.sub.1, b.sub.2, . . . , b.sub.n then the intra-group distances are the collection of values defined by M(b.sub.i, b.sub.j) for i, j=1, 2, . . . , n, where repeats (M(b.sub.i, b.sub.j)=M(b.sub.j, b.sub.i)) were ignored, and self comparisons (M(b.sub.i, b.sub.i)). If c.sub.1, c.sub.2, . . . , c.sub.m are the rows of M corresponding to the recordings of our condition group, then the inter-group distances are the collection of values defined by M(b.sub.i, c.sub.j) for i=1, 2, . . . , n and j=1, 2, . . . , m, where again repeats were ignored, self comparisons, and also intra-condition values (M(c.sub.j, c.sub.k), j, k=1, 2, . . . , m).
(54) Calculating Most Up/Down Regulated States
(55) To calculate the most up- and down-regulated state transitions between baseline and condition recordings, the matrix of unwrapped transition probability matrices, where x is 115 (k115.sup.2) for k recordings, were first organized by condition into sub-matrices, M, G.sub.C.sub.
(56) In some embodiments, changes in brain transition between different discrete states and up-regulation or down-regulation of specific states is used to monitor disease progression wherein changes in up-regulation or down-regulation of specific states or changes in how a neural barcode responds to stimuli are used to monitor a change in disease condition.
(57) In alternative embodiments, where a neural barcode has been determined to be indicative of a specific disease state by finding limited variability in repeated measurements of the neural barcode from a large group of individuals classified as having a specific condition. The disease specific neural barcode standard is optionally used as a diagnostic indicator wherein an individual's neural barcode is compared to one or more disease specific neural barcodes.
(58) In some embodiments, changes in neural barcodes are used to forecast possible disease states.
(59) Embodiments of the present invention may be provided as a computer program product, which may include a machine-readable storage medium tangibly embodying thereon instructions, which may be used to program a computer (or other electronic devices) to perform a process.
(60) In one embodiment, the computer program product may comprise a computer readable memory storing computer executable instructions thereon that when executed by a computer generate a baseline or representative neural barcode from a plurality of mesoscale spatiotemporal data in accordance with the methods of the invention.
(61) In other embodiments, the computer program product may comprise a computer readable memory storing computer executable instructions thereon that when executed by a computer generate a neural barcode from mesoscale spatiotemporal data in accordance with the methods of the invention.
(62) In other embodiments, the computer program product may comprise a computer readable memory storing computer executable instructions thereon that when executed by a computer compare two or more neural barcodes in accordance with the methods of the invention.
(63) The machine-readable medium may include, but is not limited to, fixed (hard) drives, magnetic tape, floppy diskettes, optical disks, compact disc read-only memories (CD-ROMs), and magneto-optical disks, semiconductor memories, such as ROMs, PROMs, random access memories (RAMs), programmable read-only memories (PROMs), erasable PROMs (EPROMs), electrically erasable PROMs (EEPROMs), flash memory, magnetic or optical cards, or other type of media/machine-readable medium suitable for storing electronic instructions (e.g., computer programming code, such as software or firmware).
(64) Various methods described herein may be practiced by combining one or more machine-readable storage media containing the code according to the present disclosure with appropriate standard computer hardware to execute the code contained therein. An apparatus for practicing various embodiments of the present invention may involve one or more computers (or one or more processors within a single computer) and storage systems containing or having network access to computer program(s) coded in accordance with various methods described herein, and the method steps of the disclosure could be accomplished by modules, routines, subroutines, or subparts of a computer program product.
(65) To gain a better understanding of the invention described herein, the following examples are set forth. It should be understood that these examples are for illustrative purposes only. Therefore, they should not limit the scope of this invention in any way.
Example 1: Mesoscale Imaging Reveals a Markovian Grammar of Brain Dynamics
(66) To investigate the brain's intrinsic grammar, in vivo mesoscale imaging for a total of 83 (38F/45M) awake head fixed mice (
(67) While the mesoscale raw recordings and raw file sizes suffer from a conventional big-data problem, the low dimensional dynamics allow for a more compact representation of the calcium dynamics. A state-space discretization approach was applied (
(68) The Markov Elements corresponded to an amalgamation of common frames (
(69) With the definition of the Markov Elements complete, the order of the Markov Process, or the dependence of motif transitions on previous neocortical activity motifs (Markov Elements) was estimated. Specifically, a zero order Markov Process models independence of future state from current state, whereas first order process models probability from the current motif, and a second order process models probability on doublet sequences. A first-order Markov Process was found superior to zero or second-order processes (
Example 2: Individual Mice Display a Unique, Reproducible Dynamical Signature or Barcode
(70) While the TPMs and occupancy distributions showed a common neural grammar across mice (
(71) To quantify and visualize the unique neural grammar that individual mice displayed, the TPMs and the occupancy distributions into a single vector (
(72) Principal Component Analysis (PCA) was applied to the neural barcodes (
(73) Thus, while there are common features to motif sequencing across mouse brains, each mouse has had unique development and experiences that result in idiosyncratic features in brain dynamics that distinguish it from other mice.
Example 3: Dynamical Signatures are Impacted by Seizures
(74) Maximal electroconvulsive seizures (MES) (
(75) A clear separation of the post-ictal state from the 3 day pre-ictal and baseline controls in principal component space (
Example 4: Sensory Processing Alters Dynamic Content but not Grammar
(76) A central question is whether cortical grammar is internally generated, or whether it represents an integration of spontaneous activity, movement and sensory processing.sup.12,26,31. To test this, sensory stimuli were used to determine whether the introduction of regional sensory activity would integrate into motifs, in which case they would follow a transition probability for the combined sensory and spontaneous activity, or whether they would continue with the grammar of the trajectory that preceded the sensory stimulus. Simply put, does the unique state resulting from the combination of spontaneous activity and sensory processing then bias the subsequent repertoire of neural states? This is important, because it has implications for how neural states stage responses for context specific behaviors.
(77) To investigate this, mesoscale cortical dynamics were sampled while animals received full field flashes directed to the right eye (5 ms, 450 nm LED, Thorlabs;
(78) The time-series of Markov Elements plotted was considered as an occupancy raster (
Example 5: Pharmacologically Generated Diversity of Dynamical Signatures
(79) Whether pharmacological manipulations would impact mesoscale grammar as it does behavioral grammar.sup.17,23 was considered. How this might occur depends on the specific pharmacological intervention, just as the sedated mouse may spend time in more or less anxious contexts with no bearing on its actual anxiety-like state. It was therefore focused on pharmacological manipulations targeting neuromodulators and anesthetics to determine their effect on grammar (
(80) A total of ten pharmacological agents from five classes and a physiological saline vehicle control were utilized: 1) the serotonergic reuptake inhibitors fluoxetine and clomipramine, 2) the noradrenergic reuptake inhibitors venlafaxine and desipramine, 3) inhibitors of monoamine oxidase tranylcypromine and rasagiline, 4) the dopamine receptor antagonists risperidone and haloperidol and 5) low doses of the anesthetics ketamine and isoflurane. Dosing was selected based on behaviorally sufficient effects. Thirty minutes after administration, with the exceptions of ketamine where imaging occurred 15 minutes after administration and isoflurane once body temperature had stabilized, animals were head-fixed for awake sampling of cortical dynamics. From these spontaneous dynamics, the neural barcode associated with the vehicle and each of the pharmacological manipulations (
(81) Thus, pharmacologically generated diversity in the Makovian neural barcode shows class specific effects, but just as individual animal signatures are observed, the properties of specific compounds impact neocortical grammar in unique ways despite class similarities.
Example 6: Human Neural Barcodes for fMRI Data
(82) Referring to
(83) These Markov elements were applied to the entire data set to determine the Markovian neural barcode with precisely the same methods as in the mouse imaging. The Markovian neural barcode was computed for the entire duration of the data set, and for each individual, the first half, or the second half to compare the stability of the baseline recordings. Principal component analysis was applied to the resulting neural barcodes for visualization. 1. Gordon, E. M., Laumann, T. O., Gilmore, A. W., Newbold, D. J., Greene, D. J., Berg, J. J., . . . & Dosenbach, N. U. (2017). Precision functional mapping of individual human brains. Neuron, 95 (4), 791-807.
Methods of the Examples
(84) Animals
(85) Male and female adult C57BL/6J-Tg(Thy1-jRGECO1a)GP8.58Dkim/J.sup.25 mice (8-16 weeks old), constitutively expressing the red-shifted calcium indicator jRGECO1a under the Thy-1 promoter were used for all experiments. Mice were group housed on a 12:12 light cycle with ad libitum access to food and water.
(86) Surgeries
(87) Chronic skull intact window surgeries were performed as previously described.sup.36. Mice were isoflurane anesthetized (4% induction, 1.5-2.5% maintenance, 0.5 L/min oxygen) and buprenorphine (0.03 mg/kg) was administered subcutaneously for analgesia. Bupivacaine (Sterimax, intradermal, 0.05 mL) was administered locally at the excision site. Body temperature was maintained at 37 C. with a feedback thermistor, and eyes were protected with lubricant (Opticare, CLC Medica). Following disinfection with 3 alternating chlorhexidine (2%) and alcohol (70%), the skull was exposed with a skin excision from 3 mm anterior to bregma to 2 mm posterior to lambda, and bilaterally to the temporalis muscles. A metal screw was fix to the skull with cyanoacrylate prior to embedding in transparent dental cement (C&B-Metabond, Parkell). A flat 99 mm glass coverslip (tapered by 2 mm anteriorly) was fixed to the skull with transparent dental cement, taking care to avoid the formation of air pockets. Mice recovered for 7 days prior to further interventions, allowing for full cement hardening and wound healing.
(88) Electrodes constructed from Teflon-coated stainless-steel wire (178 m diameter, A-M Systems) were connected to gold plated male amphenol pins and implanted under isoflurane anesthesia as above. The electrode was implanted 750 m into posterior parietal cortex lateral to the chronic window through temporalis muscle. The implant was anchored to the chronic window using dental cement and a ground electrode, and animals were allowed to recover for a minimum of 5 days.
(89) Imaging Protocol
(90) Mice were habituated to handling, head fixation with the embedded screw and the imaging apparatus including the excitation LED over 5 days. Cortical calcium activity during quiet wakefulness was sampled using a macroscope (Nikon 55 mm lens, f/2.8 aperture) and a Quantalux 2.1 MP Monochrome sCMOS Camera (Thorlabs). 16-bit images with 19.7 ms temporal resolution (50 Hz) and 256256 pixel resolution (26.5 px/mm) were acquired. Using a 567 nm excitation LED in conjunction with a 540/80 filter (Semrock) attached to an articulating arm, a wide expanse of dorsal neocortex (10-15 mW/cm.sup.2) was illuminated. Emission fluorescence was filtered with a 629/56 bandpass filter (Semrock). Focus was set 500 mm below the cortical surface to minimize signal distortion from large blood vessels. Illumination and frame capture was controlled using commercial software (Labeo Technologies, Inc).
(91) Recordings were of different lengths for different experiments; however all acquisitions were at 50 Hz temporal resolution with the exception of those intended to determine the effect of sampling frequency on the Markovian neural barcode. For experiments imaging under quiet wakefulness and for pharmacological experiments, spontaneous cortical activity was recorded for 22,500 frames (7.5 minutes). For maximal electrical stimulation (MES) seizure induction experiments neocortical calcium activity was sampled at 50 Hz for 45,000 frames, corresponding to a 5-minute recording of cortical activity prior to MES, followed by 10 minutes of cortical activity after the seizure. Visual stimulation experiments involved sampling 40,000 frames of mesoscale cortical calcium dynamics.
(92) Image Analysis
(93) Image stacks were analyzed using custom-written MATLAB code (Mathworks, MA). Pixel responses were expressed as a change in fluorescence relative to pixel mean fluorescence over the duration of the recording (F/F0). For MES experiments, this was expressed relative to the pixel mean fluorescence over the five minutes preceding MES. The individual time-varying pixel signals were bandpass filtered (0.1-15 Hz) for analysis. MES experiments and associated controls were bandpass filtered 0.1-20 Hz. Each image stack was aligned to the Allen Institute for Brain Science Mouse Brain Atlas common coordinate framework (CCF) using rigid transformation to anatomical landmarks. To restrict analysis to cortical activity during periods of quiet wakefulness, movement frames were identified as a deviation of the mean square error of spatial high-pass images from the mean image and removed prior to analyses, corresponding to 205% of frames excluded from recordings. A common mask was applied to all recordings to remove pixels peripheral to the chronic window and neocortex.
(94) Inter- and Intra-Individual Variability in Cortical Dynamics
(95) A subset of nave animals were recorded repeatedly to estimate the inter- and intra-individual variability in spontaneous cortical calcium dynamics. To achieve this, animals were repeatedly imaged both within and across days and animals were returned to their homecage between recordings. Specifically, spontaneous cortical activity was sampled at baseline, after one hour, after two hours, and after 24 hours.
(96) Maximal Electroconvulsive Shock (MES)
(97) A supratheshold maximal electoconvulsive shock (MES) stimulus was used to elicit a controlled generalized tonic clonic convulsion. This was delivered by a GSC 700 shock generator (model E1100DA, Grason-Stadler) through ear clips to, consisting of a 0.2 s biphasic 60 Hz sine wave pulse. As a control for MES effects on neocortical dynamics, spontaneous cortical calcium activity was sampled without any intervention two days prior to MES.
(98) Visual Stimulation
(99) To determine the impact of sensory information on the structure of cortical dynamics during quiet wakefulness, neocortical activity was sampled as headfixed animals received monocular visual stimulation in the form of a full field flash. To minimize contamination of the imaging field a 450 nm LED (M450LP1, Thorlabs) directed to the mouse's right eye was utilized. Cortical calcium activity was sampled as animals received 200 5 ms full field flashes with a 3 s inter-stimulus interval and a jitter of one second.
(100) Drugs
(101) To pharmacologically generate diversity in brain dynamics, mice were administered compounds of several pharmacological classes (Tocris Biosciences) and the anesthetics isoflurane or ketamine. Stock solutions were prepared in either DMSO or water, and the drugs administered by intraperitoneal (IP) injection in a 200 L volume with 5% final DMSO concentration. A subset of mice underwent both a pharmacological condition and a vehicle condition consisting of saline with 5% DMSO. Imaging took place 30 minutes after IP injections, with the exception of ketamine, where mice were imaged after 15 minutes, and isoflurane, where mice were imaged 5 minutes after reaching a stable body temperature of 37 C. Dosing was as follows: clomipramine 15 mg/kg, fluoxetine 15 mg/kg, desipramine 15 mg/kg, venlafaxine 2.5 mg/kg, rasagiline 3 mg/kg, tranylcypromine 5 mg/kg, haloperidol 3 mg/kg, risperidone 1 mg/kg, ketamine 10 mg/kg, and isoflurane 1%.
(102) Sampling the Initial Discrete Markov States
(103) To construct the global Markov Element set, 25 frames were randomly sampled from 847 recordings across drug, acute chronic stress, acute stress, homecage control, and visual stimulus conditions, and stored these frames into a single data matrix. A global mask was then applied to each frame in this data matrix and then a K-Means clustering algorithm was used with a choice of 200 clustering centroids. These centroids were then clustered again by K-Means into 50 clusters and sorted by the given 50 cluster index. The Markov Elements were then manually curated. First, Elements typified by artifacts, including blood vessel prominence at the conclusion of bouts of movement, whisker shadows in the imaging field, and window imperfections were removed. Functionally duplicative Markov Elements were then identified by examining the correlation between states, and removing states correlated over 0.9 unless visual inspection identified anatomical significance to the structure of the calcium activity. This resulted in a final basis set of 115 Elements.
(104) Markov Model Construction
(105) The global Markov Element set was denoted as B. To construct a Markov chain model, M, for a given recording, R, with n.sub.f frames, each data frame, R.sub.i, i[1, 2, . . . ], was paired with a corresponding global Markov Element, B.sub.k, k[1, 2, . . . , 115], by finding the index k that solves
(106)
(107) The index, {circumflex over (k)}, that minimizes the sum of squares difference above, is the assigned Markov element, M.sub.i={circumflex over (k)}, for frame R.sub.i of R.
(108) Estimation of Transition Probability Matrices and Occupancy Distributions
(109) A consistent estimator of the occupancy distribution is given from the distribution of observed frequencies in the Markov chain. The unconditional probability for the i.sup.th state is given by
(110)
where m.sub.i is the i.sup.th element in the 115 element state space, and N(X) counts the occurrence, or frequency, of element X in the chain model. In the construction of the occupancy distribution, contiguous frames that occupy the same Markov Element, so called self-transitions, are considered.
(111) The derived conditional probabilities for the corresponding transition probability matrix, P, as found by the maximum likelihood estimates.sup.38.
(112)
(113) In the case where state m; does not occur in the chain, it is assumed that
(114) p.sub.ij=0, j[1, . . . , 115]. In the construction of the transition probability matrix, self-transitions were not considered in computing the transition probability matrix.
(115) Neural Barcode Construction
(116) A neural barcode in the analysis was systematically constructed by unwrapping the transition probability matrix, 115 115, for each recording into a vector, 1 115.sup.2, and concatenating it's associated occupancy distribution, 1115. Thus for an analysis with k recordings, the corresponding neural barcode is of size k(115.sup.2+115)=k13,340. For computational and visual convenience, recordings representing a common condition were grouped together in the corresponding neural barcode. For plotting clarity, columns of the neural barcode with all 0 entries, corresponding to transitions that never occurred, were removed.
(117) Intra-Inter Group Analysis
(118) Comparative analysis of the animal recordings using their associated transition probability matrices and occupancy distributions, as represented in the neural barcode, were done using an intra-inter group analysis.
(119) For this intra-inter group analysis, principal component analysis was first applied to the relevant neural barcode with columns of zero mean removed, and the first five principal components for each recording were stored in a new reduced coefficient matrix. A pairwise distance matrix, say M, was then calculated from the rows of the previous reduced principal component matrix using the Euclidean norm.
(120) To quantify the separation in principal component space between a baseline group, G.sub.B, and condition group, G.sub.C, the corresponding intra-inter group distances can be found from M. If the rows of M that correspond to the baseline recordings are b.sub.1, b.sub.2, . . . , b.sub.n then the intra-group distances are the collection of values defined by M(b.sub.i, b.sub.j) for i, j=1, 2, . . . , n, where repeats (M(b.sub.i, b.sub.j)=M(b.sub.j, b.sub.i)), and self comparisons (M(b.sub.i, b.sub.i)) were ignored. If c.sub.1, c.sub.2, . . . , c.sub.m are the rows of M corresponding to the recordings of our condition group, then the inter-group distances are the collection of values defined by M(b.sub.i, c.sub.i) for i=1, 2, . . . , n and j=1, 2, . . . , m, where again repeats were ignored, self comparisons, and also intra-condition values (M(c.sub.j, c.sub.k), j, k=1, 2, . . . , m).
(121) The significance of the intra-inter group distances was tested by the Wilcoxon rank sum test. The distance was considered at a 5% significance level, with the exception of the drug application experiments where the significance level was adjusted using the Bonferroni correction.
(122) Calculating Most Up/Down Regulated States
(123) To calculate the most up- and down-regulated state transitions between baseline and condition recordings, the matrix of unwrapped transition probability matrices (k115.sup.2) for k recordings, were first organized by condition into sub-matrices, M, G.sub.C.sub.
REFERENCES
(124) 1 Bullmore, E. & Sporns, O. The economy of brain network organization. Nat Rev Neurosci 13, 336-349 (2012). 2 Xie, Y. et al. Resolution of High-Frequency Mesoscale Intracortical Maps Using the Genetically Encoded Glutamate Sensor iGluSnFR. J Neurosci 36, 1261-1272 (2016). 3 Couto, J. et al. Chronic, cortex-wide imaging of specific cell populations during behavior. Nat Protoc 16, 3241-3263 (2021). 4 Mohajerani, M. H. et al. Spontaneous cortical activity alternates between motifs defined by regional axonal projections. Nat Neurosci 16, 1426-1435 (2013). 5 Arieli, A., Sterkin, A., Grinvald, A. & Aertsen, A. Dynamics of ongoing activity: explanation of the large variability in evoked cortical responses. Science 273, 1868-1871 (1996). 6 Chan, A. W., Mohajerani, M. H., LeDue, J. M., Wang, Y. T. & Murphy, T. H. Mesoscale infraslow spontaneous membrane potential fluctuations recapitulate high-frequency activity cortical motifs. Nat Commun 6, 7738 (2015). 7 Vanni, M. P., Chan, A. W., Balbi, M., Silasi, G. & Murphy, T. H. Mesoscale Mapping of Mouse Cortex Reveals Frequency-Dependent Cycling between Distinct Macroscale Functional Modules. J Neurosci 37, 7513-7533 (2017). 8 Afrashteh, N. et al. Spatiotemporal structure of sensory-evoked and spontaneous activity revealed by mesoscale imaging in anesthetized and awake mice. Cell Rep 37, 110081 (2021). 9 McGirr, A. et al. Stress impacts sensory variability through cortical sensory activity motifs. Transl Psychiatry 10, 20 (2020). https://doi.org:10.1038/s41398-020-0713-1 10 Rezaei, Z. et al. Prenatal stress dysregulates resting-state functional connectivity and sensory motifs. Neurobiol Stress 15, 100345 (2021). 11 Han, F., Caporale, N. & Dan, Y. Reverberation of recent visual experience in spontaneous cortical waves. Neuron 60, 321-327 (2008). 12 Poulet, J. F. & Petersen, C. C. Internal brain state regulates membrane potential synchrony in barrel cortex of behaving mice. Nature 454, 881-885 (2008). 13 Luczak, A., Barth, P. & Harris, K. D. Spontaneous events outline the realm of possible sensory responses in neocortical populations. Neuron 62, 413-425 (2009). 14 Mackevicius, E. L. et al. Unsupervised discovery of temporal sequences in high-dimensional datasets, with applications to neuroscience. Elife 8, 38471 (2019). 15 Rubinov, M. & Sporns, O. Complex network measures of brain connectivity: uses and interpretations. Neuroimage 52, 1059-1069 (2010). 16 Pellow, S., Chopin, P., File, S. E. & Briley, M. Validation of open: closed arm entries in an elevated plus-maze as a measure of anxiety in the rat. J Neurosci Methods 14, 149-167 (1985). 17 Wiltschko, A. B. et al. Revealing the structure of pharmacobehavioral space through motion sequencing. Nat Neurosci 23, 1433-1443 (2020). 18 Chomsky, N. Syntactic Structures. 117 (Mouton de Gruyter, 1957). 19 Salkoff, D. B., Zagha, E., McCarthy, E. & McCormick, D. A. Movement and Performance Explain Widespread Cortical Activity in a Visual Detection Task. Cereb Cortex 30, 421-437 (2020). 20 Kang, M. et al. Momentary level of slow default mode network activity is associated with distinct propagation and connectivity patterns in the anesthetized mouse cortex. J Neurophysiol 119, 441-458 (2018). 21 Urai, A. E., Doiron, B., Leifer, A. M. & Churchland, A. K. Large-scale neural recordings call for new insights to link brain and behavior. Nat Neurosci 25, 11-19 (2022). 22 Fink, G. A. Markov Models for Pattern Recognition From Theory to Applications. 2nd ed edn, (Springer, 2014). 23 Wiltschko, A. B. et al. Mapping Sub-Second Structure in Mouse Behavior. Neuron 88, 1121-1135 (2015). 24 Pltz, T. & Fink, G. A. Markov models for offline handwriting recognition: a survey. International Journal on Document Analysis and Recognition (IJDAR) 12, 269-298 (2009). 25 Dana, H. et al. Thy1 transgenic mice expressing the red fluorescent calcium indicator jRGECO1a for neuronal population imaging in vivo. PLOS One 13, e0205444 (2018). 26 Musall, S., Kaufman, M. T., Juavinett, A. L., Gluf, S. & Churchland, A. K. Single-trial neural dynamics are dominated by richly varied movements. Nat Neurosci 22, 1677-1686 (2019). 27 Gordon, E. M. et al. Precision Functional Mapping of Individual Human Brains. Neuron 95, 791-807 e797 (2017). 28 Tran, C. H. T., George, A. G., Teskey, G. C. & Gordon, G. R. Seizures elevate gliovascular unit Ca2+ and cause sustained vasoconstriction. JCI Insight 5, 136469 (2020). 29 Farrell, J. S. et al. Postictal behavioural impairments are due to a severe prolonged hypoperfusion/hypoxia event that is COX-2 dependent. Elife 5, 19352 (2016). 30 Colangeli, R., Morena, M., Pittman, Q. J., Hill, M. N. & Teskey, G. C. Anandamide Signaling Augmentation Rescues Amygdala Synaptic Function and Comorbid Emotional Alterations in a Model of Epilepsy. J Neurosci 40, 6068-6081 (2020). 31 Stringer, C. et al. Spontaneous behaviors drive multidimensional, brainwide activity. Science 364, 255 (2019). 32 Lin, I. C., Okun, M., Carandini, M. & Harris, K. D. The Nature of Shared Cortical Variability. Neuron 87, 644-656 (2015). 33 Avitan, L. & Stringer, C. Not so spontaneous: Multi-dimensional representations of behaviors and context in sensory areas. Neuron 15, 00588-00588 (2022). 34 Kenet, T., Bibitchkov, D., Tsodyks, M., Grinvald, A. & Arieli, A. Spontaneously emerging cortical representations of visual attributes. Nature 425, 954-956 (2003). 35 Xiao, D. et al. Mapping cortical mesoscopic networks of single spiking cortical or sub-cortical neurons. Elife 6, 19976 (2017). 36 Silasi, G., Xiao, D., Vanni, M. P., Chen, A. C. & Murphy, T. H. Intact skull chronic windows for mesoscopic wide-field imaging in awake mice. J Neurosci Methods 267, 141-149 (2016). 37 Katz, R. On some criteria for estimating the order of a Markov chain. Technometrics 23, 243-249 (1981). 38 Liu, K., Sibille, J. & Dragoi, G. Generative Predictive Codes by Multiplexed Hippocampal Neuronal Tuplets. Neuron 99, 1329-1341 e1326 (2018).
(125) Although the invention has been described with reference to certain specific embodiments, various modifications thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention. All such modifications as would be apparent to one skilled in the art are intended to be included within the scope of the following claims.