Soft Flow

FCAP-BASIC Programming Language

------------------------------*------------------------------
FCAP-list provides an interpreted environment to execute data analysis protocols written in FCAP-BASIC programming language. FCAP-BASIC incorporates most of the functions and statements of the general purpose BASIC programming language. In addition, FCAP-BASIC has more than fifty special built-in functions developed for flow cytometry data analysis.
You can instruct FCAP-list to automatically generate the program code of the tasks you perform. In addition, you can write programs with any text processing application and execute them with FCAP-list.
For your convenience, we enclose below the code of a FCAP-BASIC application

REM Demo project for FCAP-list
SetFileTypes ListModeFile, "FCLM", "SFWF", "****"
SelectFile ListModeFile, "Listmode data file, 4 parameters"
SelectFile GateFile, "Bivariate histogram gates"
SelectFile GateFile, "Single parameter histogram gates"
CloseLMFile
OpenLMFile "", "Listmode data file, 4 parameters"
NewHgr 4, "Green[FL2]" of Green
NewHgr 3, 4, "Red[FL1,FL2]" of Red
NewHgr 3, 4, "All[FL1,FL2]" of All
NewHgr 3, "All[FL1]" of All
NewHgr 4, "All[FL2]" of All
NewHgr 1, 2, "All[FS,SS]" of All
SetActiveHgr "All[FS,SS]"
LoadGates "", "Bivariate histogram gates"
SetActiveHgr "All[FL1]"
LoadGates "", "Single parameter histogram gates"
NewGate "All[FL2]", "Green-2", Green, (676,951 )
NewGate "Red[FL1,FL2]", "Ly Contamination", Magenta, ( 531,929; 724,938; 788,779; 766,591; 578,561; 445,676; 471,891; 531,929 )
GateOff "Red[FL1,FL2]", "Ly Contamination"
NewGate "All[FL1,FL2]", "No-Label Cells", Cyan, ( 59,415; 244,441; 342,394; 389,252; 325,38; 89,25; 25,72; 12,295; 59,415 )
GateOff "All[FL1,FL2]", "No-Label Cells"
Classify
ShowHgr "All[FS,SS]", 0.7, 5.3, 32.6, 32.6, DP
ShowHgr "All[FL2]", 33.9, 5.3, 32.6, 32.6, LP
ShowHgr "All[FL1]", 67.1, 5.3, 32.6, 32.6, LP
ShowHgr "All[FL1,FL2]", 0.7, 40.6, 32.6, 32.6, DP
ShowHgr "Red[FL1,FL2]", 33.9, 40.6, 32.6, 32.6, DP
ShowHgr "Green[FL2]", 67.1, 40.6, 32.6, 32.6, LP
Print "Eventnumber in Green[Fl1] hgr.:" ,HgrEventNum( "Green[FL2]" )
Print "% of Granulocytes:" ,HgrPercent( "Green[FL2]" )
Print "Ly Contamination (%)" ,GatePercent( "Red[FL1,FL2]", "Ly Contamination" )
Print "Number of 'Non-labelled' cells:" ,GateEventNum( "All[FL1,FL2]", "No-Label Cells" )
Print "% of 'Non-labelled' cells:" ,GatePercent( "All[FL1,FL2]", "No-Label Cells" )
NewSprLine
AddSprColumn "EventNum(Red)"
AddSprColumn "Percent of Reds"
AddSprColumn "EventNum(Green)"
AddSprColumn "Percent of Greens"
AddSprColumn "EventNum(Blue)"
AddSprColumn "Percent of Blues"
NewSprLine
Classify
AddSprColumn PopEventNum( Red )
AddSprColumn PopPercent( Red )
AddSprColumn PopEventNum( Green )
AddSprColumn PopPercent( Green )
AddSprColumn PopEventNum( Blue )
AddSprColumn PopPercent( Blue )
NewSprLine
end
------------------------------*------------------------------
Back to Soft Flow home pageBack to Soft Flow home page