An analysis script tells LabKey Server how to calculate the compensation matrix, what gates to apply, statistics to calculate, and graphs to draw.
Create a New Analysis Script
- Click the Flow Dashboard tab (in the upper right of the page).
- In the Flow Experiment Management panel, click "Create a New Analysis Script".
- Enter the name: "labkey-demo".
- Click Create Analysis Script.
Define a Compensation Calculation
The compensation calculation tells the LabKey Flow engine how to identify the compensation controls in an experiment. It also indicates which gates to apply. A compensation control is identified as having a particular value for a specific keyword.
Click on the link script main page
at the bottom of the page. You can see defining the compensation calculation is now marked as completed.
Flow Scripts Web Part
Click Flow Dashboard
to return to the main page of your project. Scroll down to see the web part that provides easy access to the main script page.