Learn R Programming

retistruct (version 0.6.3)

retistruct.read.markup: Read the markup data

Description

Read the markup data contained in the files markup.csv, P.csv and T.csv in the directory dataset, which is specified in the reconstruction object r.

Usage

retistruct.read.markup(a, error = stop)

Arguments

a

Dataset object, containing dataset path

error

Function to run on error, by default stop()

Value

o RetinalDataset object

V0

Indices in P of apices of tears

VB

Indices in P of backward vertices of tears

VF

Indices in P of backward vertices of tears

iN

Index in P of nasal point, or NA if not marked

iD

Index in P of dorsal point, or NA if not marked

iOD

Index in Ss of optic disc

phi0

Angle of rim in degrees

DVflip

Boolean variable indicating if dorsoventral (DV) axis has been flipped

Details

The tear information is contained in the files P.csv and T.csv. The first file contains the locations of outline points that the tears were marked up on. The second file contains the indices of the apex and backward and forward vertices of each tear. It is necessary to have the file of points just in case the algorithm that determines P in retistruct.read.dataset has changed since the markup of the tears.

The remaining information is contained in the file markup.csv.

If DVflip is specified, the locations of points P flipped in the \(y\)-direction. This operation also requires the swapping of gf and gb and VF and VB.