Skip to content

Update to TASBE 5 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 238 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
82a2270
improve explanation of colorpairfiles
jakebeal May 18, 2017
9807004
color model updated to use output directory settings
Jul 11, 2017
efc9fb1
Merge branch 'master' of https://github.com/TASBE/TASBEFlowAnalytics-…
Jul 11, 2017
bd0a3ee
updated results files
Jul 11, 2017
27f4f61
update CM to new gmdistribution constraints
Sep 9, 2017
9d4ecbb
use update autogating
Sep 14, 2017
8e0cad9
one more update
Sep 14, 2017
c7ca6ef
update test colormodel to 2.0 pre-release
Sep 15, 2017
425f967
placeholders no longer needed now that directories automatically self…
Sep 27, 2017
ef870c1
note that for a single channel, color control is optional
Sep 27, 2017
16b14d1
Add note about when to change AP number of Gaussian components
Sep 29, 2017
4d96301
correct typo
Oct 14, 2017
e9cd2c7
Modified the datafile to include the new field added to ColorModel.
Nov 15, 2017
87a3b21
Merge branch 'develop' into tutorial.ltiberio.bug86
Nov 15, 2017
f43b7e7
Accidently reverted my batch_template file that contained my fix for …
Nov 16, 2017
669fe11
Merge pull request #20 from TASBE/tutorial.ltiberio.bug86
jakebeal Nov 16, 2017
b805e1c
Merge pull request #21 from TASBE/tutorial.ltiberio.bug86
jakebeal Nov 16, 2017
40af609
Revert "Tutorial.ltiberio.bug86"
jakebeal Nov 16, 2017
1d4fd10
Merge pull request #22 from TASBE/revert-20-tutorial.ltiberio.bug86
jakebeal Nov 16, 2017
e3a57a5
Merge branch 'develop'
Nov 16, 2017
b3926df
change FITC, MEFL to ERF where appropriate
Nov 17, 2017
b5f795e
Merge branch 'master' into develop
Nov 17, 2017
e5b898d
re-run color model to match revision
Nov 17, 2017
e25d0f9
Created a test wrapper for serialized output. Added the call to batch…
Nov 20, 2017
8569bfe
Merge branch 'develop' into ltiberio.tutorial.issue95
Nov 29, 2017
73605e5
Unit test code.
Nov 29, 2017
58a3955
Moved this file into the TASBE code directory.
lisatiberio Dec 19, 2017
ca1de03
Updated data file because it was out of sync with class GMMGating.
lisatiberio Jan 16, 2018
5976d11
Merge pull request #23 from TASBE/develop
jakebeal Jan 16, 2018
817f6cf
Merge commit '58a3955fb8431ec9b307b6750d36d9e65555a936' into develop
Jan 17, 2018
cfa4c32
testing color models shouldn't have been included
Jan 18, 2018
4b6b864
Merge pull request #24 from TASBE/develop
jakebeal Jan 18, 2018
5d4b25c
Example of URCP-38-2K beads
Jan 21, 2018
9ec86fb
Merge branch 'develop'
Jan 21, 2018
774647b
OutputSettings migration
lisatiberio Jan 22, 2018
6ed5197
Merge branch 'develop' of https://github.com/TASBE/TASBEFlowAnalytics…
lisatiberio Jan 22, 2018
34684ec
add comment showing how to use color models
jakebeal Jan 24, 2018
b192b40
Merge pull request #25 from TASBE/develop
jakebeal Jan 30, 2018
53a3fbc
add citation information
jakebeal Jan 30, 2018
1a71b45
update to better match OS
Jan 30, 2018
0479b4b
Merge branch 'develop'
Jan 30, 2018
958c484
Remove redundant CSV production
Feb 11, 2018
f0fcb80
update secondary bead channel example in template
Feb 11, 2018
31a3356
update use of serializeBatchOutput to reflect change to CSV naming, a…
Feb 11, 2018
2a33073
adjust to reflect movement of bead_plot into TASBEConfig
Feb 11, 2018
0a8ae28
update secondary bead channel config
Feb 11, 2018
78b5ddf
don't need to plot path set to the default
Feb 11, 2018
bc64d5f
Issue-125: Verified the Color Model was created with non-default valu…
lisatiberio Feb 13, 2018
291b545
Merge pull request #27 from TASBE/ltiberio.issue125-tutorial
jakebeal Feb 13, 2018
78eb02d
Fixing #138
Feb 19, 2018
c4ccb3d
move rest of bead prefs into TASBEConfig
Feb 20, 2018
5df5d15
updated colormodel
Feb 20, 2018
c62e395
Merge branch 'master' into develop
Feb 20, 2018
ad54f3b
Merge pull request #28 from TASBE/develop
jakebeal Feb 20, 2018
b3364ba
upgrade colormodel for prefilter / postfilter distinction
Mar 21, 2018
4adebd4
Merge pull request #29 from TASBE/develop
jakebeal Mar 21, 2018
b8ff531
green shows up better than yellow
Mar 23, 2018
81a7614
Merge branch 'develop'
Mar 28, 2018
3907a35
Fix TASBEFlowAnalytics #200
Apr 6, 2018
a7d5095
Updated tutorials 1-3
Jun 6, 2018
27db75f
Made Requested Changes
Jun 7, 2018
b6d5a86
Merge pull request #30 from TASBE/update-tutorials-1-3
jakebeal Jun 7, 2018
da31dbc
fixed issue 90 by adding a template that allows users to compare bead…
Jun 12, 2018
41b5373
made display a bit more informative
Jun 13, 2018
552aa39
Merge pull request #32 from TASBE/coverney.issue90
jakebeal Jun 13, 2018
96e12ba
Updated README
Jun 13, 2018
58a3f89
Updated README
Jun 13, 2018
9fada39
Edited batch template for issue 214
Jun 15, 2018
3c9908a
Merge pull request #34 from TASBE/coverney.issue214
jakebeal Jun 18, 2018
62aa84c
Merge pull request #33 from TASBE/coverney.updateREADME
jakebeal Jun 19, 2018
e8273d4
Edited plusminus template for issue 105
Jun 19, 2018
764efdb
Issue 105
Jun 22, 2018
f9505fc
added the example for comparison, basing on Highs for better debugging
Jun 24, 2018
d8c76d3
Merge pull request #35 from TASBE/coverney.issue105
jakebeal Jun 24, 2018
d1680e6
Added excel template to tutorial
Jun 27, 2018
c6b3edf
Requested changes regarding issue 60
Jun 27, 2018
29ea1f1
Merge pull request #36 from TASBE/coverney.issue60
jakebeal Jun 27, 2018
5e2673e
Added second version of template
Jun 28, 2018
19d4f05
Updated excel template
Jun 28, 2018
15877ac
excel template shouldn't have made it to develop yet
jakebeal Jul 1, 2018
da7c718
Merge pull request #37 from TASBE/develop
jakebeal Jul 1, 2018
1fee68f
batch.csv is obsolete, replaced by automatic CSVs
Jul 2, 2018
1f475d5
Renamed example_assay files
Jul 2, 2018
d991483
Merge branch 'master' into coverney.excel
Jul 2, 2018
017cfc1
Made order to channel names match
Jul 2, 2018
a08473e
Merge branch 'coverney.excel' of https://github.com/TASBE/TASBEFlowAn…
Jul 2, 2018
5b58de8
Added batch_template using tutorial data
Jul 2, 2018
e17904f
Merge pull request #38 from TASBE/coverney.excel
jakebeal Jul 3, 2018
9a8095e
Excel wrapper README file
Jul 3, 2018
f8ab29a
Updated batch_template file
Jul 3, 2018
bf29070
Formatting changes to ExcelREADME
Jul 3, 2018
2316081
Updated Excel_README
Jul 3, 2018
2553b33
Updated one of the example templates
Jul 3, 2018
b38e61d
Merge branch 'coverney.excel' of https://github.com/TASBE/TASBEFlowAn…
Jul 3, 2018
e6d7ad3
Updated batch_template spreadseet
Jul 5, 2018
e808fd0
Updated template Excel files
Jul 5, 2018
a373530
Typo in plusminus template!
Jul 9, 2018
087cbfa
Updated batch_template
Jul 9, 2018
e425bf5
Fixed typo in transfer curve template to work with new plot_bin_stati…
Jul 10, 2018
a08ab9c
Updated Excel batch_template
Jul 12, 2018
75d0d7a
Updated batch_template spreadsheet
Jul 13, 2018
bc416a5
Update batch_template
Jul 17, 2018
41f4783
Updated Excel README and batch_template
Jul 20, 2018
0919aa1
Updated Excel README
Jul 20, 2018
817cf78
Updated batch_template
Jul 22, 2018
5984ee5
Updated template in response to issue #306
Jul 23, 2018
68ac6ad
Fixed issue #309, added example for point cloud filenames
Jul 24, 2018
54241cf
Updated template to address issue #283
Jul 24, 2018
6500376
Formatting changes to template and updated Excel README
Jul 24, 2018
9012b58
Updated batch template
Jul 30, 2018
0ddc211
Merge pull request #39 from TASBE/coverney.excel
jakebeal Jul 30, 2018
c8b2035
Updated optional settings
Aug 1, 2018
b161f73
Merge pull request #40 from TASBE/coverney.excel
jakebeal Aug 1, 2018
9fcd3d5
Updated batch template
Aug 2, 2018
9eacb5f
Merge pull request #41 from TASBE/coverney.excel
jakebeal Aug 2, 2018
363f450
Merge pull request #42 from TASBE/develop
jakebeal Aug 2, 2018
fdb1342
Updated batch template to address issue 321
Aug 2, 2018
a77bd34
Merge pull request #43 from TASBE/coverney.excel
jakebeal Aug 2, 2018
c9f2364
Updated template
Aug 3, 2018
dea9c80
Updated batch template
Aug 7, 2018
f5a23f2
Merge pull request #44 from TASBE/coverney.excel
jakebeal Aug 7, 2018
4881d9c
Updated batch template
Aug 8, 2018
bc8a42f
Merge pull request #45 from TASBE/coverney.excel
jakebeal Aug 8, 2018
d8af691
note how to do FSC/SSC
Aug 13, 2018
bf4baa1
Merge pull request #46 from TASBE/develop
jakebeal Aug 13, 2018
ba7d0da
Updated template with multithreading features
Aug 14, 2018
bc6ee37
Merge pull request #47 from TASBE/coverney.excel
jakebeal Aug 14, 2018
d93d077
Updated Excel README with info on new features
Aug 14, 2018
1bf813f
Made requested changes to README
Aug 14, 2018
9873521
Merge pull request #48 from TASBE/coverney.excel
jakebeal Aug 14, 2018
44743f9
Added string trim to VBA functions
Aug 14, 2018
6c718d4
Merge pull request #49 from TASBE/coverney.excel
jakebeal Aug 14, 2018
7085b1f
Merge pull request #50 from TASBE/develop
jakebeal Aug 17, 2018
ca73320
Adding travis CI to tutorial
Sep 9, 2018
4ab5cea
Added test functions for remaining tutorials, CM generation, and anal…
Sep 9, 2018
b9aa562
Modified directories to work with Travis CI
Sep 9, 2018
36d36e5
touch to try to trigger first build
jakebeal Sep 17, 2018
c53394c
Adding matlab_compat and octave_compat folders to tutorial to get Tra…
Sep 20, 2018
b0cb412
Merge branch 'coverney.issue139' of https://github.com/TASBE/TASBEFlo…
Sep 20, 2018
5bf848f
Added makefile to tutorial for Travis CI
Sep 20, 2018
ceb0d56
Added gmdistribution, library_code, tasbe_set_path functions for Trav…
Sep 20, 2018
26856b9
deleted tasbe_set_path function and instance for Travis CI
Sep 20, 2018
f8f9463
removing TASBEConfig instances in test functions for TravisCI
Sep 20, 2018
f98131f
trying to find TASBEFlowAnalytics path from tutorial folder in TravisCI
Sep 20, 2018
c3a3c94
trying to find path to TASBEFlowAnalytics in tutorial's TravisCI
Sep 20, 2018
715ad20
trying to find TASBEFlowAnalytics in tutorial TravisCI
Sep 20, 2018
6ff09b9
still trying to find path to TASBEFlowAnalytics
Sep 20, 2018
e375d27
installing TASBEFlowAnalytics in tutorial .yml file for TravisCI
Sep 20, 2018
dfd91b9
adding TASBEConfig test mode to tutorial TravisCI
Sep 20, 2018
43fdba8
setting TASBEConfig checkpoint to 'test'
Sep 20, 2018
2ea4e2f
testing to make sure TravisCI will fail
Sep 20, 2018
b502620
changing TravisCI back
Sep 21, 2018
1577b0f
Updated .travis.yml file
Sep 26, 2018
113140a
Update ReadMe
Sep 26, 2018
382dd5c
Merge pull request #52 from TASBE/coverney.issue139
jakebeal Sep 26, 2018
40b6855
Merge pull request #53 from TASBE/develop
jakebeal Sep 30, 2018
b22c4d1
extend template to including forward scatter calibration
Oct 10, 2018
88de752
fix uM -> um
Oct 10, 2018
f0a2053
ready for testing with size bead enhancement
Oct 11, 2018
80e2d83
Merge pull request #54 from TASBE/features/issue.158
jakebeal Oct 11, 2018
39e88c5
Merge pull request #55 from TASBE/develop
jakebeal Oct 11, 2018
ba75c6d
Linked website to README
Oct 19, 2018
ffc151e
Merge pull request #56 from TASBE/coverney.README
jakebeal Oct 19, 2018
17f963d
Update README.md
jakebeal Nov 2, 2018
e30d84f
Updated batch_template to add size beads feature
Nov 14, 2018
91fb4fe
Merge pull request #57 from TASBE/coverney.issue357
jakebeal Nov 14, 2018
bbb28a2
Merge pull request #58 from TASBE/develop
jakebeal Dec 18, 2018
a03cf19
Added point cloud files to tutorial
Feb 26, 2019
c31022e
Merge pull request #59 from TASBE/coverney-pointcloudfiles
jakebeal Feb 26, 2019
d83b10f
set stem name before calling ```per_color_constitutive_analysis```
Feb 27, 2019
fd447fa
Moved up other OutputSettings set call
Feb 27, 2019
020fcb1
Merge pull request #60 from TASBE/coverney.issue397
jakebeal Feb 27, 2019
f475b35
Created the batch_template_csv file and tested it with the new CSVRea…
Feb 28, 2019
5440f86
added test for batch_template_csv
Feb 28, 2019
65060cd
temp change branch from master to develop
Feb 28, 2019
74dc99e
uncommit plots
Mar 3, 2019
a0ad5d0
Merge pull request #61 from TASBE/coverney.issue410
jakebeal Mar 5, 2019
561d0a3
Updated tutorial JSON Header
Mar 5, 2019
72a0931
Updated travis.yml to test tutorial
Mar 5, 2019
0a07d63
Set TASBE branch in .yml back to develop
Mar 5, 2019
24eda83
Updated color model and header JSON file
Mar 12, 2019
37fc735
Updated color model .mat file using Octave
Mar 12, 2019
bc53490
Merge pull request #62 from TASBE/coverney.json
jakebeal Mar 12, 2019
7b5638a
Updated batch template
Mar 26, 2019
02ffa05
Added datafile objects to bead comparison tutorial
Mar 26, 2019
7b4c845
Fixed DataFiles in tutorial and got bead comparison to work
Apr 2, 2019
e01921e
Added DataFile objects to TASBE tutorials
Apr 3, 2019
e455040
Updated batch template and incorporated csv read feature
Apr 10, 2019
bed0df7
Merge pull request #63 from TASBE/coverney.issue411
jakebeal Apr 11, 2019
65ef088
Merge branch 'master' into coverney.issue421
Apr 11, 2019
53f74c7
Tested excel interfaces
Apr 12, 2019
cf98965
Merge pull request #65 from TASBE/coverney.issue421
jakebeal Apr 12, 2019
6bb9683
update GMMGating to not use excess 'plots' parameter
Apr 14, 2019
39e77e0
AutogateParameters --> TASBEConfig
Apr 14, 2019
a8fe948
finished adjusting for issue 429
Apr 15, 2019
157ddec
remove obsolete plot calls
Apr 15, 2019
ef7aedb
Merge pull request #66 from TASBE/fix/issue.429
jakebeal Apr 15, 2019
b680db4
fix missing gate argument in comment
Apr 15, 2019
a390de3
Updated TASBEConfig sheet
Apr 16, 2019
5523b3d
Merge pull request #67 from TASBE/coverney.issue444
jakebeal Apr 16, 2019
437ec6c
fix errors in comments of color model template
May 6, 2019
9604e38
Updated Optional Settings tab in Excel Interface
May 13, 2019
bd4e1eb
Merge pull request #68 from TASBE/coverney.updateInterface
jakebeal May 14, 2019
9b0ea7b
Addressed output results issue
Jun 22, 2019
5bed1cf
Merge pull request #69 from TASBE/coverney.issue356
jakebeal Jun 22, 2019
28236a8
Added plots to Excel
Jun 29, 2019
35ac503
Merge pull request #70 from TASBE/coverney.issue470
jakebeal Jun 29, 2019
9d542d0
Added manual testing protocol for template
Jul 26, 2019
b7f9416
Merge pull request #71 from TASBE/coverney.issue478
jakebeal Jul 26, 2019
8e5f3a0
add ACS SynBio TASBE publication reference
jakebeal Sep 4, 2019
db4c73c
update travis to migrate from trusty to xenial configuration
jakebeal Sep 5, 2019
53b14a3
try to add ghostscript
Sep 11, 2019
29df1f5
looks like pstoedit is needed too
Sep 11, 2019
ba9a963
try turning off graphics output
Sep 11, 2019
98ac3f7
fix checkpointing so that graphics off continues to be respected duri…
Sep 11, 2019
7227a60
Merge pull request #72 from TASBE/trusty-to-xenial-migration
jakebeal Sep 11, 2019
c1886f0
Added unit tests to templates and made graphs non static
Sep 18, 2019
7d98deb
Merge pull request #73 from TASBE/coverney.issue478
jakebeal Sep 18, 2019
015c564
Updated README
Oct 2, 2019
bc1c636
Merge pull request #74 from TASBE/coverney.issue481
jakebeal Oct 2, 2019
2367163
Added checkboxes to excel interface
Oct 2, 2019
fc66284
Merge pull request #75 from TASBE/coverney.issue471
jakebeal Oct 3, 2019
abfac18
Added in AppleScript file
Dec 14, 2019
b3b7387
Created user guide for macOS users
Dec 14, 2019
af2df93
Merge branch 'coverney.issue292' of https://github.com/TASBE/TASBEFlo…
Dec 14, 2019
a34453c
Integrated Windows and macOS interfaces
Dec 15, 2019
a061c6e
Merge pull request #76 from TASBE/coverney.issue292
jakebeal Dec 16, 2019
bcb57b8
update the Excel file and README
Dec 17, 2019
f883c97
Merge pull request #77 from TASBE/coverney.issue292
jakebeal Dec 17, 2019
8467c6a
Added exit functions to csv template
Dec 17, 2019
d222bdd
Merge pull request #78 from TASBE/coverney.issue292
jakebeal Dec 17, 2019
220274b
Added drop down menus in "Samples" sheet
Feb 5, 2020
2aee60e
Merge pull request #79 from TASBE/coverney.issue297
jakebeal Feb 6, 2020
bb8471c
add bad bead file example for testing
May 8, 2020
833300e
add link to iGEM tutorial
jakebeal Jul 22, 2020
3a3a5c0
very small FCS files for new test
Sep 11, 2020
5bd7814
adding additional test files
Sep 18, 2020
ba8ed0c
color model for small test
Sep 18, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
75 changes: 75 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# vim ft=yaml
# travis-ci.org definition for TASBEFlowAnalytics-Tutorial build (based on MOxUnit)
#
# This pretends to be java because it needs GNU Octave which is not
# available (as of April 2015)

language: java

services:
- xvfb
cache:
- apt
addons:
apt:
packages:
- ghostscript
- pstoedit
env:
global:
- OCTAVE=octave
matrix:
- WITH_COVERAGE=
# Disable until ready to go there:
#- WITH_COVERAGE=true
#- RUN_DOC_TEST=true
before_install:
# to prevent IPv6 being used for APT
- sudo bash -c "echo 'Acquire::ForceIPv4 \"true\";' > /etc/apt/apt.conf.d/99force-ipv4"
- travis_retry sudo apt-get -y -qq update
- travis_retry sudo apt-get install -y -qq software-properties-common python-software-properties
- travis_retry sudo apt-add-repository -y ppa:octave/stable
- travis_retry sudo apt-get -y -qq update
# get Octave 4,0
- travis_retry sudo apt-get -y -qq install octave liboctave-dev
# install Octave io package
# Forge is unreliable: trying to get directly instead:
# - octave --no-gui --quiet --eval "pkg install -forge io"
# - wget -O io-2.4.10.tar.gz https://downloads.sourceforge.net/octave/io-2.4.10.tar.gz?download --no-check-certificate
- octave --no-gui --quiet --eval "pkg install matlab_compat/io-2.4.10.tar.gz"
# install MOxUnit
- cd ..
- rm -rf MOxUnit
- git clone https://github.com/MOxUnit/MOxUnit.git
- make -C MOxUnit install
# install MOcov
- rm -rf MOcov
- git clone https://github.com/MOcov/MOcov.git
- make -C MOcov install
# retrieve MOdox
- rm -rf MOdox
- travis_retry git clone -v git://github.com/MOdox/MOdox.git
- make -C MOdox install
# retrieve TASBE for running tests
- rm -rf TASBEFlowAnalytics
- git clone --branch=develop https://github.com/TASBE/TASBEFlowAnalytics
- make -C TASBEFlowAnalytics install
# go back to original directory
- cd TASBEFlowAnalytics-Tutorial

script:
- if [[ "$WITH_COVERAGE" == "true" ]]; then
TEST_ARGS=WITH_COVERAGE=true;
COVER_ARGS=COVER=`pwd`/TASBEFlowAnalytics-Tutorial;

if [[ "$TRAVIS" == "true" ]]; then
OUTPUT_ARGS=COVER_JSON_FILE=`pwd`/coveralls.json;
AFTER_SCRIPT="curl --verbose -F json_file=@`pwd`/coveralls.json https://coveralls.io/api/v1/jobs";
fi;
elif [[ "$RUN_DOC_TEST" == "true" ]]; then
TEST_ARGS=RUN_DOC_TEST=true;
fi;

- echo Test arguments $TEST_ARGS $COVER_ARGS $OUTPUT_ARGS $RESULT_ARGS
- make test $TEST_ARGS $COVER_ARGS $OUTPUT_ARGS $RESULT_ARGS
- eval $AFTER_SCRIPT
Binary file added 01_flow_cytometry/01_Figures/Fig1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 01_flow_cytometry/01_Figures/Fig2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 01_flow_cytometry/01_Figures/Fig3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 01_flow_cytometry/01_Figures/Fig4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 01_flow_cytometry/01_Figures/Fig5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 28 additions & 19 deletions 01_flow_cytometry/exercises.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,30 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% example: addpath('~/Downloads/TASBEFlowAnalytics/');
addpath('your-path-to-analytics');
% addpath('../TASBEFlowAnalytics/'); % input your-path-to-analytics
% turn off sanitized filename warnings:
warning('off','TASBE:SanitizeName');

colordata = '../example_controls/';
dosedata = '../example_assay/';



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Examples of flow data
% Examples of flow data (Fig1 to Fig4)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% pure scatter - often hard to interpret
fcs_scatter([dosedata 'LacI-CAGop_C4_C04_P3.fcs'],'PE-Tx-Red-YG-A','Pacific Blue-A',0,[0 0; 6 6],1);
fcs_scatter([colordata '07-29-11_EYFP_P3.fcs'],'FITC-A','Pacific Blue-A',0,[0 0; 6 6],1);
fcs_scatter(DataFile('fcs', [dosedata 'LacI-CAGop_C4_P3.fcs']),'PE-Tx-Red-YG-A','Pacific Blue-A',0,[0 0; 6 6],1); % Fig1
fcs_scatter(DataFile('fcs', [colordata '07-29-11_EYFP_P3.fcs']),'FITC-A','Pacific Blue-A',0,[0 0; 6 6],1); % Fig2
% smoothed density plot omits details but often summarizes collective better
data1 = fcs_scatter([dosedata 'LacI-CAGop_C4_C04_P3.fcs'],'PE-Tx-Red-YG-A','Pacific Blue-A',1,[0 0; 6 6],1);
data2 = fcs_scatter([colordata '07-29-11_EYFP_P3.fcs'],'FITC-A','Pacific Blue-A',1,[0 0; 6 6],1);
data1 = fcs_scatter(DataFile('fcs', [dosedata 'LacI-CAGop_C4_P3.fcs']),'PE-Tx-Red-YG-A','Pacific Blue-A',1,[0 0; 6 6],1); % Fig3
data2 = fcs_scatter(DataFile('fcs', [colordata '07-29-11_EYFP_P3.fcs']),'FITC-A','Pacific Blue-A',1,[0 0; 6 6],1); % Fig4

% Things to notice:
% - look at the size of data1 and data2: there's a *LOT* of points in these samples
% - because there is so much of it, pure scatter graphs are not sufficient for interpreting the data
% - the axes are logarithmic, and variation is evenly distributed on the log scale
% - the data runs up against the axes: there are values less than zero not shown
% less than zero values come from sensor error
% - low values are quantized, but not round
% - the data runs up against the axes: values less than zero (sensor error) are not shown
% - low values are quantized, but not rounded
% - the very highest values saturate, at around 10^5.5 in these files
% - the populations of cells are complex, multimodal, and range widely in observed fluorescence

Expand Down Expand Up @@ -71,22 +69,33 @@
% How high was this really? We cannot know because it is saturated!




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Making a ColorModel (Fig5)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
channels = {};

channels{1} = Channel('Pacific Blue-A', 405, 450, 50);
channels{1} = setPrintName(channels{1}, 'EBFP2');
channels{1} = setLineSpec(channels{1}, 'b');
colorfiles{1} = [colordata '2012-03-12_' 'ebfp2_P3.fcs'];

channels{2} = Channel('PE-Texas Red-A', 561, 610, 20);
channels{2} = setPrintName(channels{2}, 'mKate');
channels{2} = setLineSpec(channels{2}, 'r');
colorfiles{2} = [colordata '2012-03-12_' 'mkate_P3.fcs'];

channels{3} = Channel('FITC-A', 488, 530, 30);
CM = ColorModel('','',channels,{{},{},{}},{});
channels{3} = setPrintName(channels{3}, 'EYFP'); % Name to print on charts
channels{3} = setLineSpec(channels{3}, 'y'); % Color for lines, when needed
colorfiles{3} = [colordata '2012-03-12_' 'EYFP_P3.fcs']; % If there is only one channel, the color file is optional

CM = ColorModel('','',channels,colorfiles,{}); % simplified ColorModel, more features will be introduced in future tutorials

filtered = read_filtered_au(CM,[colordata '07-29-11_EYFP_P3.fcs']);
% Notice that 'filtered' is smaller than 'data': we've dropped the first 25 "units" of time
% It should be in tenths of seconds, but in fact it's the uninterpreted timestep field
filtered = read_filtered_au(CM,DataFile('fcs', [colordata '07-29-11_EYFP_P3.fcs'])); % applies any filters set in ColorModel

CM = set_dequantization(CM,true);
[dequantized hdr] = read_filtered_au(CM,[dosedata 'LacI-CAGop_C4_C04_P3.fcs']);
CM = set_dequantization(CM,true); % dequantization adds noise to spread the data out more, especially useful at low levels
[dequantized hdr] = read_filtered_au(CM,DataFile('fcs', [dosedata 'LacI-CAGop_C4_P3.fcs']));
xc = dequantized(:,10); yc = dequantized(:,11);
pos = xc>0 & yc>0;
figure; smoothhist2D(log10([xc(pos) yc(pos)]),10,[200, 200],[],'image',[0 0; 6 6]);
figure; smoothhist2D(log10([xc(pos) yc(pos)]),10,[200, 200],[],'image',[0 0; 6 6]); % Fig5
% if desired, quantization can be smoothed out by introduction of small noise
Binary file added 02_flow_compensation/02_Figures/Fig1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig11.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig12.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig17.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 02_flow_compensation/02_Figures/Fig9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading