Skip to content

Commit 7085b1f

Browse files
authored
Merge pull request #50 from TASBE/develop
Prepare 7.2 release
2 parents bf4baa1 + 6c718d4 commit 7085b1f

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

Excel_README.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,59 @@
11
# TASBE Flow Analytics Excel Interface Instruction Guide
22

3-
A new feature of the TASBE Flow Analytics package is an Excel interface that provides a user-friendly interface between raw FCS data and current TASBE data analysis tools. Using a template spreadsheet, scientists can document important aspects of their experiments without having to worry about writing Matlab code. Currently, the template is organized into 6 sheets:
3+
A new feature of the TASBE Flow Analytics package is an Excel interface that provides a user-friendly interface between raw FCS data and current TASBE data analysis tools. Using a template spreadsheet, scientists can document important aspects of their experiments without having to worry about writing Matlab code. Currently, the template is organized into the following sheets:
44
* "Experiment": includes all of the general experiment information and filename templates
55
* "Samples": includes important information regarding samples and batch analysis
66
* "Calibration": includes information to generate a Color Model
77
* "Comparative Analysis": includes information to run plusminus analysis
88
* "Transfer Curve Analysis": includes information to run transfer curve analysis
99
* "Optional Settings": TASBEConfig preferences that should not be changed unless absolutely necessary
10+
* "96w, 48w, 24w": Plate layouts labeled with sample names used for better visualization
1011

11-
**Note**: All filepaths are relative to the location of the spreadsheet template unless they are absolute paths.
12+
**Note**: All file paths are relative to the location of the spreadsheet template unless they are absolute paths.
1213

1314
## User Instructions
14-
An example of the template is located in the TASBEFlowAnalytics-Tutorial titled ```batch_template.xlsm```. This example spreadsheet uses the tutorial
15-
FCS data. The code needed to run the template is in the TASBEFlowAnalytics [coverney.excel](https://github.com/TASBE/TASBEFlowAnalytics/tree/coverney.excel) branch. The following sections describe specific features for each template sheet. There are more notes highlighted in green throughout the spreadsheet.
15+
An example of the template is located at [TASBEFlowAnalytics-Tutorial](https://github.com/TASBE/TASBEFlowAnalytics-Tutorial) titled ```batch_template.xlsm```. This example spreadsheet uses the tutorial
16+
FCS data. The code needed to run the template is in the newest release of [TASBEFlowAnalytics](https://github.com/TASBE/TASBEFlowAnalytics/releases). The following sections describe specific features for each template sheet. There are more notes highlighted in green throughout the spreadsheet.
1617

1718
### Experiment
1819
* Filename templates are used to generate the correct FCS filenames without having to type all of them out. Each filename template is separated into numbered sections with some sections being static and some being variable. The variable sections must correspond to column names in "Samples".
1920
(i.e. A template of 1_2_3.fcs would have the numbers replaced with the three correct inputs.) **Make sure to update the blueprint of number placeholders right below the Filename Template header.**
20-
* The conditions keys are used to make sure that the values for a certain column name in "Samples" is valid. The keys are used to obtain the sets for plusminus analysis.
21+
* The conditions keys are used to make sure that the values for a certain column name in "Samples" is valid. The keys are used to obtain the sets for plusminus and transfer curve analysis.
2122

2223
### Samples
23-
* The Sample Name column is necessary for the analysis and needs to be manually filled out.
24-
* Information for each replicate should be in the same row with commas separating the values (i.e. sample locations for three replicates could look like A1,A2,A3). This feature is not applicable to the experimental condition columns.
25-
* The "Update Filenames" button serves to generate sample filenames using the filename templates. These filenames are used in the TASBE ```getExcelFilename``` function, so it is important to click the "Update Filenames" button before running any analyses procedures.
24+
* The SAMPLE NAME column is necessary for the analysis and needs to be manually filled out.
25+
* Information for each replicate should be in the same row with commas separating the values (i.e. sample locations for three replicates could look like A1, A2, A3). This feature is not applicable to the experimental condition columns.
26+
* The "Click to Update Filenames" button serves to generate sample filenames using the filename templates. These filenames are used in the TASBE ```getExcelFilename``` function, so it is important to click the "Update Filenames" button before running any analysis.
2627
* "Statistics Filename", "Statistics Filepath", "Point Cloud Filename", and "Point Cloud Filepath" are preferences for batch analysis. "Point Cloud Filename" takes in a filename template number instead of a string name since Point Cloud files are generated for multiple samples.
28+
* The "Click to Update Plates" button fills out the plate layout sheets. Values for the plate layout column should consist of the plate sheet name followed by the plate name (i.e. 96w,Plate 1). It is also important for the SAMPLE LOCATION(s) column to be updated since it is used to determine where to put the sample names.
2729

2830
### Calibration
29-
* Multiple bead files can be compared by listing out their sample names in the "Sample Name" cell within the "Rainbow Beads" section. (i.e. Beads,Beads2,Beads3). The "Bead Comparison Tolerance" determines how identical you want the bead files to be. The results of the comparisons will be included in the TASBESession located at the bottom of the sheet.
31+
* Multiple bead files can be compared by listing out their sample names in the "Sample Name" cell within the "Rainbow Beads" section. (i.e. Beads,Beads2,Beads3). The "Bead Comparison Tolerance" determines how identical you want the bead files to be. The results of the comparisons will be included in the TASBESession log located at the bottom of the sheet.
3032
* The "Constitutive/Input/Output" cells within the "Fluorochromes" section are optional for batch analysis but required for plusminus and transfer curve analysis. If this feature will be used, exactly one channel must be marked as Constitutive. The minimum is 2 colors with the second color acting as both the input and output. (It only needs to be labeled as one of the two.) For 3 or more colors, all pairwise combinations between labeled inputs and outputs will be analyzed. Colors not labeled will be ignored.
3133
* The "Relevant Channels" cell within the "Color Translation" section determines which colors to consider when creating the Color Model. A value of "all" means all listed colors will be used.
3234

3335
### Comparative Analysis
34-
* "Comparison Group(s)" contains sample column name-value pairs that determine which samples in the "Samples" sheet are compared.
35-
* "Comparisons" consist of the required primary comparison sets (i.e. +,-) and the secondary ordering inductions, which are optional. Both the primary and secondary sets are in the form of sample column names for a single plusminus analysis.
36-
* Multiple plusminus analysis can be run as long as the Comparison Groups are aligned with their respective Comparison values. Additional preferences including otuput filename and plot path are required for each analysis.
37-
* The "End Row Number" cell is currently required in order to determine the relative position of the generic plusminus preferences. The value should correspond to the last row (yellow fill) in Comparison Groups/Comparisons.
38-
* The stem and device name cells were removed and replaced by automatically generated condition names in the format of "column name = value" for each Comparison Group.
36+
* "Comparison Group(s)" contains sample column name-value pairs that determine which samples in the "Samples" sheet are compared. The format is "Sample Column Name = Value". Multiple name-value pairs can be listed out to further specify the comparison groups (i.e. ColName1 = Value1, ColName2 = Value2). Leave this section blank if all samples should be considered for analysis.
37+
* "Comparisons" consist of the required primary comparison sets (i.e. +, -) and the secondary ordering inductions, which are optional. Both the primary and secondary sets are in the form of sample column names for a single plusminus analysis.
38+
* Multiple plusminus analysis can be run as long as the Comparison Groups are aligned with their respective Comparison values. Additional preferences including output filename and plot path are required to differentiate between different analyses.
39+
* The stem and device name cells were removed and replaced by automatically generated condition names in the format of "sample column name = value" for each Comparison Group.
3940

4041
### Transfer Curve Analysis
41-
* "Comparison Group(s)" contains sample column name-value pairs that determine which samples in the "Samples" sheet are analyzed. Each pair should correspond to a value in "Comparisons".
42-
* "Comparisons" consists of the sample column name with the transfer curve conditions. It is important for the values to be numerical. Additional preferences including stem name and plot path are required for each analysis.
42+
* "Comparison Group(s)" contains sample column name-value pairs that determine which samples in the "Samples" sheet are analyzed. Each pair should correspond to a value in "Comparisons". The format for Comparison Groups is "Sample Column Name = Value". Multiple name-value pairs can be listed out to further specify the comparison groups (i.e. ColName1 = Value1, ColName2 = Value2). Leave this section blank if all samples should be considered for analysis.
43+
* "Comparisons" consists of the sample column name with the transfer curve conditions. It is important for the values to be numerical. Additional preferences including stem name and plot path are required to differentiate between different analyses.
4344
* Device name cells were removed. The defaults for stem names are in the format of "column name = value" for each Comparison Group, or they are the experiment name.
4445

4546
### Optional Settings
4647
* To change a preference, input the new value within the Value column.
47-
* MEFL-converted point clouds can be obtained by setting the value of the "flow.outputPointCloud" preference to 1.
48+
* MEFL-converted point clouds can be obtained by setting the value of the "flow.outputPointCloud" preference to 1.
49+
* Outputted Histogram and Statistic CSV files from batch analysis can be controlled with the "flow.outputHistogramFile" and "flow.outputStatisticsFile" preferences.
4850

4951
### Next Steps
50-
**Before running TASBEFlowAnalytics, make sure you have installed TASBE and are not just running it from the directory. Installation instructions are located in the TASBEFlowAnalytics [README](https://github.com/TASBE/TASBEFlowAnalytics/blob/develop/README.md).**
52+
**Before running TASBE Flow Analytics, make sure you have installed TASBE and are not just running it from the directory. Installation instructions are located in the TASBEFlowAnalytics [README](https://github.com/TASBE/TASBEFlowAnalytics/blob/develop/README.md).**
5153

5254
After completing and saving the template spreadsheet, the actual analysis can be run in two ways:
53-
1) Run the function ```analyzeFromExcel``` (located in the code directory of TASBEFlowAnalytics)
54-
with the file path of the spreadsheet as the input and the type ('colormodel', 'batch', 'plusminus', or 'transfercurve'). ```analyzeFromExcel``` will then create a TemplateExtraction object and run the correct analysis.
55-
2) Click the run buttons located in each sheet of the template. From there, ```analyzeFromExcel``` is automatically called with the correct inputs. The TASBESession log would then be outputted near the bottom of the relevant sheet. The template contains some more detailed instructions to set up the buttons. **This feature currently only works with Windows.**
55+
1) Run the function ```analyzeFromExcel``` (located in the code directory of TASBEFlowAnalytics) from MATLAB
56+
with the file path of the spreadsheet as the input and the type ('colormodel', 'batch', 'plusminus', or 'transfercurve'). ```analyzeFromExcel``` will then create a TemplateExtraction object and run the correct analysis. **Don't forget to click the "Update Filenames" button before running any analysis.**
57+
2) Click the run buttons located in each sheet of the template. From there, ```analyzeFromExcel``` is automatically called with the correct inputs. The TASBESession log would then be outputted near the bottom of the relevant sheet in the form of a progress bar. The template contains some more detailed instructions to set up the buttons. There are also cancel buttons for each analysis. Cooperative multitasking is implemented to allow users to continue modifying the template while an analysis is running. **This feature currently only works with Windows.**
5658

5759
**Note**: The code is based on the coordinates of several important variables. You can adjust those coordinates accordingly using the ```setExcelCoordinates``` function within the ```TemplateExtraction``` class.

batch_template.xlsm

27.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)