textureAnalyzerGels-package: textureAnalyzerGels

textureAnalyzerGels-packageR Documentation

textureAnalyzerGels

Description

Reading and analyzing files written by the Exponent software of the Texture Analyzer. The Texture Analyzer compresses materials, and records Force - Distance curves. This package reads these force distance curves from tabulated text files exported from the Exponent software, and also contains routines for basic analysis of the data, namely in terms of the Young modulus.

Details

A typical workflow for reading mechanical compression data into R is:
1. Carry out mechanical measurement. Typically, a measurement is a single uniaxial compression/release cycle, with a maximum compression to some 20 percent of the original height to avoid mechanical damage. To reduce the influence of capillary pressure and fluid retention, the measurement is carried out with the sample immersed. The piston displacement speed should be as low as possible to reduce the influence of viscous drag of the liquid in the pore space. We use a TextureAnalyzer machine from Stable Microsystems for this purpose
2. Export data in tab format. Keep the maximum number of decimal places and time points.
3. Read the data into R. For reading a single file, read_texture_analyzer_tab can be used, but more generally, one will tabulate file information and metadata in a spreadsheet, and use the spreadsheet in R (see read.xls to direct the lecture of a multitude of .tab file with read_texture_analyzer_tab_list.
4. For soft gels in particular, the mechanical noise can be relatively high. It is therefore advisable to carry out low-pass filtering to reduce noise. This can be done explicitly with smooth_texture_analyzer_data. If read_texture_analyzer_tab_list is used, this is more typically done directly by read_texture_analyzer_tab_list.
In this workflow, the smoothing steps are especially slow, and for a larger collection of files, it is clearly advisable to write the smoothened curves into R datafiles. For this, the save command can be used.

Analysis depends on the type of gel from which one wants to extract information.

For cryogels of sufficient interconnectivity and porosity, foam mechanical analysis may be appropriate. Under certain circumstances (among them, sufficient porosity and interconnectivity), these gels have a mechanical behaviour akin to classical foam-like materials in compression (stress-strain diagram): there is an initial elastic compression segment, followed by a wall-buckling plateau, followed by steeply increasing stress in densification (Gibson 1997). For such gels, mechanical analysis in terms of foam-mechanics is most suitable. In this case, the workflow can be continued as follows:
1. foam_mechanical_analysis respectively foam_mechanical_analysis_list for an set of measurements can be used to extract characteristic points and data from the compression / relaxation curves
2. write_foam_mechanical_analysis_list_to_xlsx can be used to write the extracted data to an Excel file for external analysis.
3. process_foam_mechanical_analysis_list_to_dataframe processes the nested list output given by foam_mechanical_analysis_list into a more standard R dataframe from which the desired values can be aggregated and plotted in more standard R manner.

For classical hydrogels without or with limited macroporosity, no plateau exists, and other analysis is appropriate (for example, simple linear fitting (lm), or analysis in more sophisticated frameworks such as Ogden model (Ogden 1972, ogden_model).

Author(s)

Patrick Burch
Marina Braschler
Thomas Braschler

Maintainer: Thomas Braschler <thomas.braschler@gmail.com>

References

Gibson, L. J. & Ashby, M. F. Cellular Solids: Structure and properties. (Cambridge University Press, 1997).

Ogden, R. W. (1972), Large Deformation Isotropic Elasticity - On the Correlation of Theory and Experiment for Incompressible Rubberlike Solids,Proceedings of theRoyal Society A: Mathematical, Physical and Engineering Sciences, 326(1567), 565-584.

Beduer A, Braschler T, Peric O, Fantner GE, Mosser S, Fraering PC , Bencherif SA, Mooney DJ, Renaud P: A compressible scaffold for minimally invasive delivery of large intact neuronal networks, Adv Healthc Mater, 2015, 4(2):301-12, https://doi.org/10.1002/adhm.201400250

Examples

## Not run: 
path = system.file('sampleData/2016_08_30_Patrick_sample', package = 'textureAnalyzerGels');
CMC_concentration_file_info = read.xls(file.path(path,"file_listing.xlsx") )
CMC_concentration_data=read_texture_analyzer_tab_list(file_info=CMC_concentration_file_info,root_folder=path,sd=0.05,boundary_extension_mm=0.2,lm_region_upper_mm=0.05,do_plot=FALSE)
analysis_CMC_concentration_list=foam_mechanical_analysis_list(CMC_concentration_file_info,CMC_concentration_data)
analysis_CMC_concentration_dataframe=analysis_list_to_dataframe(CMC_concentration_file_info,analysis_CMC_concentration_list)


# Plotting the initial Young moduli on the elastic segment before the plateau. The Young moduli depend strongly on the exact cryo-synthesis conditions (here, in 1mL syringes); and also,
# the initial Young moduli are higher than linear fits that include plateau effects (c.f. Beduer 2015)
plot(value ~ CMC_conc, analysis_CMC_concentration_dataframe[analysis_CMC_concentration_dataframe$direction=="down" & analysis_CMC_concentration_dataframe$measurement=="E" & analysis_CMC_concentration_dataframe$point=="elastic" ,],xlim=c(0,3),ylim=c(0,2e4),cex=2,xlab="CMC concentration [

## End(Not run)

tbgitoo/textureAnalyzerGels documentation built on March 30, 2022, 4:53 a.m.