FCS Express 4用户手册

创建自定义标记

Hide Navigation Pane

创建自定义标记

Previous topic Next topic  

创建自定义标记

Previous topic Next topic JavaScript is required for the print function  

用户可以自行定义标记来创建各种类型的统计。在本节中,我们将计算阳性样本文件ApoMono.002中的Apo(+)/Apo(-)比率。计算方法是用阳性细胞的数目除以阴性细胞的数目。

要插入一个自定义标记:

1.请选择Application Button(应用程序按钮)Open Layout(打开版面)
2.请打开教程样本数据库中的TokenCustom.fey文件。

该版面(见图T5.43)包含本教程中插入标记一节中使用过的绘图和文本框。绘图下方是一个新的FL1与FL2的作图,其中有几个象限,还有一个写有"Apo(+)/Apo(-) ratio:"的文本框。我们将把自定义标记插入到这里(图T5.43)。

 

 

图T5.43  Custom Token Layout (TokenCustom.fey) (自定义版面((TokenCustom.fey)))

图T5.43  Custom Token Layout (TokenCustom.fey) (自定义版面((TokenCustom.fey)))

 

3.请在文本框末尾不完整的文本'Apo(+)/Apo(-) Ratio:'之后点击。
4.请选择View(视图)→Tokens(标记)→Custom Tokens(自定义标记)命令(图T5.44)。

 

图T5.44  Selecting the Custom Tokens Command (选择自定义标记命令)

图T5.44  Selecting the Custom Tokens Command (选择自定义标记命令)

 

这时应弹出Custom Tokens(自定义标记)窗口(图T5.45)。

5.请在Custom Tokens(自定义对话框)上右击。
6.请从弹出菜单中选择New Custom Token(新建自定义标记)(图T5.45)。

 

图T5.45  Creating a New Custom Token (创建新的自定义标记)

图T5.45  Creating a New Custom Token (创建新的自定义标记)

 

为计算该例子中的比率,我们将使用阳性事件的数目(右上象限)除以阴性事件的数目(下方的象限)。

7.请在新的自定义标记的名称区域输入"Apo(+)/Apo(-) Ratio: "(图T5.46)。
8.请点击Enter键。

自定义标记"Apo(+)/Apo(-) Ratio:"现在应该被高亮显示(图T5.46)。

 

图T5.46 Custom Tokens Editor (自定义标记编辑器)

图T5.46 Custom Tokens Editor (自定义标记编辑器)

 

9. 请在窗口下半部分的自定义窗口中左键点击,然后输入一个等号"=" (图T5.47)。
10. 请在窗口下半部分的Custom Tokens(自定义标记)窗口中的等号后右键点击,调出相关弹出窗口。
11. 请从弹出窗口中选择Insert Token(插入标记)命令(图T5.47)。

 

图T5.47  Entering a Custom Token Formula (输入自定义标记公式)

图T5.47  Entering a Custom Token Formula (输入自定义标记公式)

 

这时会出现Insert a Token(插入标记)对话框(图T5.24)。

12. 请点击Statistic(统计)
13. 请点击Insert(插入)(图T5.24)。

这时会出现Create Statistic(创建统计)对话框中的Data Source(数据源)类型选项(图T5.36)。

14. 请选择6 - 2D plot - ApoMono.002 (FL1 vs. FL2)文件作为数据源。
15. 请点击Statistic(统计)类别选项(图T5.36中的)。

这时Create Statistic(创建统计)窗口中的Statistic(统计)类别选项会出现(图T5.37)。我们现在要选择一个统计来作为自定义标记中的分子。

16. 请从Select a quadrant(选择象限)下拉列表中选择Upper Right(右上)象限作为我们的自定义统计标记的分子。
17. 请从Statistic(统计)列表框选择% of Gated Cells(门中细胞百分比)
18. 请从Gate(门)下拉列表中选择Whole Cells(所有细胞)
19. 请点击OK (图T5.37)。

Custom Tokens Editor(自定义标记编辑器)(图T5.48)会把公式字段的统计以浅蓝色高亮显示。这是我们自定义标记的分子。我们现在要为自定义标记定义运算符和分母。

20. 请在象限统计之后键入除号"/"(图T5.48中的)。
21. 请在除号"/"之后右键点击,调出弹出窗口。
22. 请从弹出菜单中选择Insert Token(插入标记)(图T5.48中的)。

 

图T5.48  Numerator Definition for Custom Token (定义自定义标记的分子)

图T5.48  Numerator Definition for Custom Token (定义自定义标记的分子)

 

这时会弹出Insert a Token(插入标记)对话框(图T5.24)。

23. 请点击Statistic(统计)作为要插入的标记。
24. 请点击Insert(插入)(图T5.24)。

这时会出现Create Statistic(创建统计)窗口的Data Source(数据源)类别选项(图T5.36)。现在让我们来为自定义标记定义分母。

25. 请选择6 - 2D plot - ApoMono.002 (FL1 vs. FL2)作为数据源图T5.36
26. 请点击Statistic(统计)类别选项(图T5.49中的)。
27. 请在Select a quadrant(选择象限)下拉列表中选择Lower(下方)象限,作为自定义统计标记的分母。
28. 请从Statistic(统计)列表框中选择% of Gated Cells(门中细胞百分比)
29. 请在门下拉列表中选择Whole Cells(所有细胞)

屏幕现在看起来应该如图T5.49所示。

 

图T5.49  Defining the Denominator for the Custom Token (为自定义标记定义分母)

图T5.49  Defining the Denominator for the Custom Token (为自定义标记定义分母)

 

30. 请点击OK

Custom Tokens(自定义标记)窗口(图T5.50)的公式字段中现在会显示右上象限的统计数据除以下方象限的统计数据。统计标记被高亮显示为蓝色,表明它们是数据型标记,而非文本型标记。

 

图T5.50  Final Custom Token Formula (最终的自定义标记公式)

图T5.50  Final Custom Token Formula (最终的自定义标记公式)

 

创建了这个自定义标记后,我们可以把它插入到文本框中。

31. 请把光标移到文本框中"Apo(+)/Apo(-) Ratio:"的末尾(图T5.51)。
32. 请从Ribbon条中选择Text(文本)→Insert Text(插入文本)→Insert Token(插入标记)(图T5.51)。(或者在"Apo(+)/Apo(-) Ratio:"之后右键点击,调出弹出菜单,从中选择insert token(插入标记)。)

 

图T5.51  Insert Token Command (插入标记命令)

图T5.51  Insert Token Command (插入标记命令)

 

这时会出现Insert a Token(插入标记)对话框,新的自定义标记Apo(+)/Apo(-) Ratio:也列于其中(如图T5.52所示)。

33. 请点击Custom(自定义)→Apo(+)/Apo(-) Ratio:作为要插入的标记。
34. 请点击Insert(插入)来把这个标记插入到文本框中。

 

图T5.52  Selecting the Custom Token (选择自定义标记)

图T5.52  Selecting the Custom Token (选择自定义标记)

 

Apo(+)/Apo(-) Ratio: 的值"0.07"将高亮显示为灰色(图T5.53)。

 

图T5.53  Displaying the Custom Token in the Text Box (在文本框中显示自定义标记)

图T5.53  Displaying the Custom Token in the Text Box (在文本框中显示自定义标记)

 

现在让我们删除这个自定义标记,然后通过从Custom Tokens(自定义标记)窗口拖拽的方式来将其插入到文本框中。

 

35. 请选中文本"Apo(+)/Apo(-) Ratio:"之后的灰色文本框(图T5.53)。
36. 请按下Backspace(回退)Delete(删除)键来把该自定义标记删除。

 

Custom Tokens(自定义标记)窗口应该仍然在版面上,如图T5.54所示。

 

 

图T5.54  Dragging Custom Token onto Text Box (把自定义标记拖到文本框中)

图T5.54  Dragging Custom Token onto Text Box (把自定义标记拖到文本框中)

 

 

37. 请在Custom Tokens(自定义标记)窗口中点击高亮为蓝色的自定义标记Apo(+)/Apo(-) Ratio:并按住鼠标键不放(图T5.54)。
38. 拖动鼠标,把光标移动到版面中文本框里的文本Apo(+)/Apo(-) Ratio:之后。
39. 放开鼠标键。

 

这个自定义标记现在又被插入到了文本框中,如图T5.53所示。