tidy_raw_timedots: Correct raw time dots csv file from ImageJ

View source: R/read_trace.R

tidy_raw_timedotsR Documentation

Correct raw time dots csv file from ImageJ

Description

This function takes the raw time dots csv file from ImageJ and applies a series of corrections to it such that it can be used in this package. This involves correcting the default y-axis values, ordering, filtering, and adding proper names to the data frame.

Usage

tidy_raw_timedots(filepath_timedots, col_x = 1, col_y = 2)

Arguments

filepath_timedots

the path to the csv file containing the raw time dots data from ImageJ

col_x

column number of the x values, default is set to first column.

col_y

column number of the y values, default is set to second column.

Value

One trace data frame after correcting ImageJ's default origin placement

Examples

## Not run: 
filepath <- system.file("extdata", "WS_25_1981", package = "recoverKBTDR")
filepath_timedots <- paste(filepath, "WS_25_1981_time_dots.csv", sep = "/")
tidy_raw_timedots(filepath_timedots, col_x = 1, col_y = 2)

## End(Not run)


EmmaLiTsai/recoverKBTDR documentation built on Aug. 29, 2024, 10:38 a.m.