Description Usage Arguments Value See Also Examples
View source: R/afmexperiment.R
This function creates an afmexperiment
structure, which is as list
(or an array) of elements of afmdata
class.
1 | afmexperiment(data, ID=NULL)
|
data |
A variable of |
ID |
Character string with the identifier of the |
An object of class afmexp
.
1 2 3 4 5 6 | 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]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.