Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2017 Jul 5;12(7):e0179662.
doi: 10.1371/journal.pone.0179662. eCollection 2017.

Automated acoustic detection of mouse scratching

Affiliations

Automated acoustic detection of mouse scratching

Peter Elliott et al. PLoS One. .

Abstract

Itch is an aversive somatic sense that elicits the desire to scratch. In animal models of itch, scratching behavior is frequently used as a proxy for itch, and this behavior is typically assessed through visual quantification. However, manual scoring of videos has numerous limitations, underscoring the need for an automated approach. Here, we propose a novel automated method for acoustic detection of mouse scratching. Using this approach, we show that chloroquine-induced scratching behavior in C57BL/6 mice can be quantified with reasonable accuracy (85% sensitivity, 75% positive predictive value). This report is the first method to apply supervised learning techniques to automate acoustic scratch detection.

PubMed Disclaimer

Conflict of interest statement

Competing Interests: The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. A 700 ms recorded sound wave including a scratch bout.
The peaks correspond to individual scratches. This bout lasts approximately 400 ms.
Fig 2
Fig 2. A spectrogram showing the short-time Fourier transform of the scratch bout from Fig 1.
Vertical bands in the graph correspond to individual scratches. These bands are more distinct above 10 kHz.
Fig 3
Fig 3. Spectrograms with the filtered signal.
(A,B) Spectrograms of a scratch bout recorded on two channels. (C,D) Corresponding candidate islands. We observe variation between peak heights and number of peaks. The red dots indicate locations that were marked as peaks using the method described in Sec 3.1.2.
Fig 4
Fig 4. Two local maxima in the filtered signal.
The top of each dashed box corresponds to the height of the local maximum, and the vertical dashed lines show the 25 ms band around the local maximum. The bottom of the dashed box shows the height of the local maximum minus the threshold h. On the right, the minimum in the interval is much smaller than the threshold, so the local maximum is considered a peak. On the left, the minimum in the interval is above the dashed line, so that local maximum is not considered a peak.
Fig 5
Fig 5. Classification accuracy for each recording.
We compare the tradeoff between sensitivity and false discovery rate for out-of-bag predictions for the first 5 recordings. We also include results for recording 6 when using recording 5 to train the random forest. Performance is best for recordings 1, 2, 4 and 5. The neighborhood adjustment method (Sec 3.2.2) gives an improvement over the unadjusted cross prediction.
Fig 6
Fig 6. Performance response to class balance.
We compare the results from recordings 3 and 4 to results for stratified subsamples of candidate islands from recording 4. The subsamples draw separately from true scratch bouts and false candidate islands to match the class balance for recording 3. The tradeoffs for recordings 3 and 4 are plotted alongside an interval covering 90% of 30 stratified subsamples from recording 4. The performance under subsampling is comparable to that of recording 3.
Fig 7
Fig 7. Performance response to training sample size.
We compare the results from recordings 3 and 4 to results for subsamples of candidate islands from recording 4. The FDR-sensitivity tradeoffs for recordings 3 and 4 are plotted alongside the average tradeoffs across 10 subsamples from recording 4 of size 2,000 and 500.
Fig 8
Fig 8. Actual vs predicted scratching rates over time.
We compare the true rates of scratching over time estimated using kernel smoothing to rates based on out-of-bag predictions from our method. We see that important trends are picked up, e.g. the decline in scratching over time in recording 4 and the three large groups of scratching in recording 3.

Similar articles

Cited by

References

    1. Weisshaar E, Dalgard F. Epidemiology of itch: adding to the burden of skin morbidity. Acta Derm Venereol. 2009; 89(4): 339–350. 10.2340/00015555-0662 - DOI - PubMed
    1. Yosipovitch G. Epidemiology of Itching in Skin and Systemic Diseases In: Yosipovitch G, Greaves MW, Fleischer AB, McGlone F, editors. Itch: basic mechanisms and therapy. New York: Marcel Dekker, Inc.; 2008. pp. 183–191.
    1. Kuraishi Y, Nagasawa T, Hayashi K, Satoh M. Scratching behavior induced by pruritogenic but not algesiogenic agents in mice. Eur J Pharmacol. 1995; 275(3): 229–33. 10.1016/0014-2999(94)00780-B - DOI - PubMed
    1. Cuellar JM, Jinks SL, Simons CT, Carstens E. Deletion of the preprotachykinin A gene in mice does not reduce scratching behavior elicited by intradermal serotonin. Neurosci Lett. 2003; 339(1): 72–76. 10.1016/S0304-3940(02)01458-1 - DOI - PubMed
    1. Sun YG, Chen ZF. A gastrin-releasing peptide receptor mediates the itch sensation in the spinal cord. Nature. 2007; 448(7154): 700–703. 10.1038/nature06029 - DOI - PubMed