afmReadJPKFolder: Read all Nanowizard JPK ascii files in a folder

Description Usage Arguments Value Examples

View source: R/afmReadJPKFolder.R

Description

Read all JPK ascii files in a given folder. It searches for all files containing a given patter (".txt" by default) and uses the afmReadJPJ function.

Usage

1
afmReadJPKFolder(folder, pattern = ".txt", ...)

Arguments

folder

Name of the folder containing the jpk files.

pattern

Pattern that will identify the jok files (".txt" by default).

...

Other parameters passed to afmReadJPK function.

Value

An afmexperiment class data structure with all F-d curves.

Examples

1
2
3
folder <- paste(path.package("afmToolkit"), "afmexperiment",sep = "/")
data <- afmReadJPKFolder(folder = folder)
str(data)

rbensua/afmToolkit documentation built on Dec. 1, 2020, 2:14 a.m.