Analyze folders
The function analyze_folders()
in <repo>/code
is an entry point function that coordinates the analysis of SLControl folders contained in a nested structure.
Inputs
Input | Description |
---|---|
top_data_dir | the top folder in the directory structure containing the SLControl files. The code will search recursively through the structure |
top_output_dir | the top folder in a structure to hold the output data. The code will duplicate the structure of the SLControl folders, and store analysis images in the appropriate locations. A summary file will be created in the top folder |
no_of_nested_levels | The number of factors in your experimental design |
Nested levels
As an example, if:
- SLControl files are located in
c:/temp/a/b/c/d
no_of_nested_levels
is 2
The summary data will note:
factor_1
isa
factor_2
isb
prep
isc
See organization for more information.
Outputs
analysis.xlsx
is written totop_data_dir
and contains two sheetsprep_data
- information about the preparation, including pCa50, n_H, and prep dimensionstrace_data
- information about individual SLControl records, including force, k_tr
superposed.png
is written to each folder containing SLControl files- shows all SLControl records in the folder superposed
- useful for trouble-shooting
pCa.png
is written to each folder containing SLcontrol files- shows final force record in each SLControl file plotted against pCa
- useful for trouble-shooting
k_tr_xxx.png
- shows k_tr fits for each SLControl record