Learn R Programming

afmToolkit (version 1.0.0)

afmReadJPKFolder: Read all Nanowizard JPK ascii files in a folder

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

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

Value

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

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.

Examples

Run this code
folder <- paste(path.package("afmToolkit"), "afmexperiment",sep = "/")
data <- afmReadJPKFolder(folder = folder)
str(data)

Run the code above in your browser using DataLab