afmexperiment {afmToolkit} | R Documentation |
AFM experiment
Description
This function creates an afmexperiment
structure, which is as list
(or an array) of elements of afmdata
class.
Usage
afmexperiment(data, ID=NULL)
Arguments
data |
A variable of |
ID |
Character string with the identifier of the |
Value
An object of class afmexp
.
See Also
Examples
dataFolder <- paste(path.package("afmToolkit"), "afmexperiment",sep = "/")
dataFiles <- list.files(dataFolder, pattern = "force", full.names = FALSE)
data <- lapply(dataFiles, afmReadJPK, path = dataFolder)
names(data) <- dataFiles
data <- afmexperiment(data)
plot(data[[1]])
[Package afmToolkit version 0.0.1 Index]