readtext.ij: File management

View source: R/readtext.ij.R

readtext.ijR Documentation

File management

Description

Read multiple tab-delimited text files with a leaf area and perimeter value (one text file for each original JPEG image file) generated by ImageJ.

Usage

readtext.ij(path)

Arguments

path

Path to the target directory

Value

A list of data frame of leaf area for each image

area

Leaf area of the image (cm2)

Author(s)

Masatoshi Katabuchi mattocci27@gmail.com

See Also

run.ij, resmerge.ij

Examples

#prepare example files
data(leafdata)
tf <- paste(tempdir(), "/", sep = "")
for (i in 1:7){
	write.table(leafdata[[i]],paste(tf,names(leafdata)[i],sep=""),sep="\t")
}

#list of files
list.files(tf)

readtext.ij(tf)

unlink(list.files(tf))

mattocci27/LeafArea documentation built on Aug. 22, 2023, 2:30 a.m.