read.infile.df: Read microscope infiles

View source: R/generic.R

read.infile.dfR Documentation

Read microscope infiles

Description

Imports a text file representing a microscope infile as a data frame. Skips all lines which do not match the infile structure. See newinfile.df or newinfile.char for a description of the infile structure.

Usage

read.infile.df(infilepath)

Arguments

infilepath

character, the path to the infile.

Value

Data frame with infile.

See Also

Function newinfile.df creates an empty infile in the form of a data frame.
Function newinfile.char creates an empty infile in the form of a character vector.

Examples


# Create infile in disk
tempfile <- tempfile()
newinfile.char(saveto = tempfile)

# Read infile
myinfile <- read.infile.df(tempfile)
head(myinfile)

# Delete infile file from disk
file.remove(tempfile)


hmbotelho/htmrenamer documentation built on April 11, 2025, 11:04 p.m.