import_thickness_csv: Import the CSV produced by "Thickness Analysis" in OCT...

View source: R/import_thickness_csv.R

import_thickness_csvR Documentation

Import the CSV produced by "Thickness Analysis" in OCT Explorer

Description

Imports and formats the CSV data produced by the "Thickness Analysis" performed by OCT Explorer software. OCT Explorer is currently distributed for Windows, and the "Surfaces" column contains the full path to each XML segmentation file, producing unwieldy identifiers. Therefore, handy default values for the parameters split, n, and pattern are provided for cleaning up the values in the Surfaces column.

Usage

import_thickness_csv(
  csv_file,
  split = "\\\\",
  n = "last",
  pattern = "_Surfaces_Iowa.xml"
)

Arguments

csv_file

the CSV file to import

split

a character string to use as the split pattern

n

either "last" or an integer position

pattern

character string to remove from the values in the Surfaces column

scrub

a string to remove from the file column generated by OCT Explorer


barefootbiology/heyexr documentation built on July 9, 2022, 3:35 a.m.