Learn R Programming

AFM (version 2.0)

importFromNanoscope: Import data from nanoscope analysis(tm) tool

Description

The imported file should contain a header and list of heights The header should contain the following fields:

  • Lines: number of scanned lines (e.g. 512)

  • Sampsline: number of scan per line (e.g. 512)

  • ScanSize: the sample size (e.g. 1000nm) the extension nm is mandatory and will be removed

Usage

importFromNanoscope(fullfilename)

Arguments

fullfilename

a concatenated string of the directory and filename exported with Nanoscope analysis(TM) software

Details

importFromNanoscope returns an AFMImage

Examples

Run this code
# NOT RUN {
library(AFM)

fullfilename<-"/user/ubuntu/NanoscopeFlattenExportedFile.txt"
myAFMimage<-importFromNanoscope(fullfilename)
displayIn3D(myAFMimage, width=1024, noLight=TRUE))
# }

Run the code above in your browser using DataLab