updateCOORD: Preprocess coordinates data

updateCOORDR Documentation

Preprocess coordinates data

Description

The updateCOORD function rescales x and y coordinates to center (0,0) and adds quadrant information to the data set. Adjacent Left is the quadrant to the left of the target quadrant when standing at the target quadrant and looking towards the platform. Adjacent Right is the quadrant to the right of the target quadrant when standing at the target quadrant and looking towards the platform.

Usage

updateCOORD(
  data,
  centerx,
  centery,
  radius = 75,
  platformx,
  platformy,
  platformradius = 7.5,
  removeNA = TRUE
)

Arguments

data

Data set containing at following columns: "x", "y". "x" and "y" represent the coordinates (position) of the animal at a certain timepoint during a trial.

centerx

x coordinate of the center of the morris water maze (cm).

centery

y coordinate of the center of the morris water maze (cl).

radius

radius of the morris water maze (cm), default = 75.

platformx

x coordinate of the center of the platform (cm).

platformy

y coordinate of the center of the platform (cm).

platformradius

radius of the platform (cm), default = 7.5.

removeNA

Remove NAs. Default=TRUE.


Thonnard/VisualMWM documentation built on June 29, 2023, 11:18 a.m.