idt.read.dataset: Read one of the Thompson lab's retinal datasets

Description Usage Arguments Details Value Author(s)

View source: R/format-idt.R

Description

Read one of the Thompson lab's retinal datasets. Each dataset is a folder containing a SYS file in SYSTAT format and a MAP file in text format. The SYS file specifies the locations of the data points and the MAP file specifies the outline.

Usage

1
idt.read.dataset(dataset, report = message, d.close = 0.25)

Arguments

dataset

Path to directory containing as SYS and MAP file

report

Function to report progress

d.close

Maximum distance between points for them to count as the same point. This is expressed as a fraction of the width of the outline.

Details

The function returns the outline of the retina. In order to do so, it has to join up the segments of the MAP file. The tracings are not always precise; sometimes there are gaps between points that are actually the same point. The parameter d.close specifies how close points must be to count as the same point.

Value

dataset

The path to the directory given as an argument

raw

List containing

map

The raw MAP data

sys

The raw SYS data

P

The points of the outline

gf

Forward pointers along the outline

gb

Backward pointers along the outline

Ds

List of datapoints

Ss

List of landmark lines

Author(s)

David Sterratt


retistruct documentation built on April 4, 2020, 5:08 p.m.