Learn R Programming

itraxR (version 1.12.2)

itrax_import: Import Itrax core-scanner result file

Description

Imports and parses data from a results file created by Q-Spec software, part of the Itrax core scanner.

Usage

itrax_import(
  filename = "Results.txt",
  depth_top = NA,
  trim_top = 0,
  trim_bottom = 0,
  parameters = "some"
)

Value

a tibble of the parsed Itrax data

Arguments

filename

defines the name of the datafile to parse

depth_top

defines the coring in depth of the top of the core, in mm

trim_top

defines the length of any trimming required of data at the top of the core, in mm

trim_bottom

defines the length of any trimming required at the bottom of the core, in mm

parameters

one of `all` (leave all parameters), `some` (remove some less useful parameters)

Examples

Run this code
itrax_import(
  filename = system.file("extdata",
                         "CD166_19_S1_Results.txt",
                         package = "itraxR",
                         mustWork = TRUE),
  depth_top = 0)

Run the code above in your browser using DataLab