ratPASTA v0.1.2

0

Monthly downloads

0th

Percentile

Processing Acoustic Startle Experimental Data

Used for processing data obtained from behaviour experiments studying acoustic startle response, a reflex to a loud sound, modulated by several brain regions. The input data is generated with PASTA (Platform for Acoustic STArtle), a DIY device made from a kitchen scale that measures the twitch of an animal standing on the device and records it as time-series data. The function of this package is to import all data, process it in accordance with default or custom metadata describing the experiment protocol, calculate measurements and visualize the results. The PASTA solution and this package are described in Virag et al. (2020) <doi:10.1101/2020.04.10.035766>.

Readme

ratPASTA

R-based Awesome Toolbox for Platform for Acoustic STArtle

Travis build
status AppVeyor build
status Codecov test
coverage CRAN
status

ratPASTA is a package used for processing and visualising data from startle experiments in rodents. The input data for this package is created with a PASTA solution (Platform for Acoustic STArtle), described in detail here:

Virag, D., Homolak, J., Kodvanj, I., Babic Perhoc, A., Knezovic, A., Osmanovic Barilar, J., & Salkovic-Petrisic, M. (2020). Repurposing a digital kitchen scale for neuroscience research: a complete hardware and software cookbook for PASTA. BioRxiv, 2020.04.10.035766. https://doi.org/10.1101/2020.04.10.035766

Link to preprint

Installation

Install ratPASTA from CRAN:

install.packages("ratPASTA")

…or install ratPASTA from Github:

install_github("ikodvanj/ratPASTA")

Features

Package includes the following functions:

  • loadStartleData() - loads and merges all pasta files (startle data)
  • basicStartlePlot() - creates a time-series plot
  • startlePlot() - returns several plots
  • summariseStartle() - returns a mathematical summary of the data
  • latencyPlot() - creates a list with two latency plots

Instructions

For instructions on how to use this package read the vignette

Functions in ratPASTA

Name Description
loadStartleData Load Startle Data
ratpasta_demo Sample
datasummary global variables
summariseStartle Summarise Startle
latencyPlot Latency plot
startlePlot Startle Plot
basicStartlePlot Basic Startle Plot
map metadata
No Results!

Vignettes of ratPASTA

Name
Startle.png
data.RDS
ratPASTA.Rmd
ratPASTA.md
No Results!

Last month downloads

Details

Type Package
License GPL-3
Encoding UTF-8
LazyData true
RoxygenNote 7.1.0
VignetteBuilder knitr
URL https://github.com/ikodvanj/ratPASTA
BugReports https://github.com/ikodvanj/ratPASTA/issues
NeedsCompilation no
Packaged 2020-07-04 14:50:54 UTC; ikodv
Repository CRAN
Date/Publication 2020-07-04 22:50:09 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/ratPASTA)](http://www.rdocumentation.org/packages/ratPASTA)