# NOT RUN {
library(AFM)
# Analyse the AFMImageOfRegularPeaks AFMImage sample from this package
data("AFMImageOfRegularPeaks")
AFMImage<-AFMImageOfRegularPeaks
# exportDirectory="C:/Users/my_windows_login" or exportDirectory="/home/ubuntu"
exportDirectory=tempdir()
AFMImage@fullfilename<-paste(exportDirectory,"AFMImageOfRegularPeaks.txt",sep="/")
# Start to check if your sample is normaly distributed and isotropic.
generateCheckReport(AFMImage)
# If the sample is normaly distributed and isotropic, generate a full report
generateReport(AFMImage)
# Analyse your own AFM image from nanoscope analysis (TM) software tool
anotherAFMImage<-importFromNanoscope("c:/users/my_windows_login/myimage.txt")
# Start to check if your sample is normaly distributed and isotropic.
generateCheckReport(anotherAFMImage)
# If your sample is normaly distributed and isotropic, generate a full report
generateReport(anotherAFMImage)
# }
Run the code above in your browser using DataLab