CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
Public Member Functions | |
string | OpToString (Func< float, float, bool > op) |
Turns a function that evaluates an operator into a string. More... | |
abstract bool | Eval (Cell cell) |
Evaluates a cell according to this boolean expression. More... | |
abstract override string | ToString () |
abstract void | GetGenes (ref List< string > result, bool onlyPercent=false) |
Gets a list of all genes that this boolean expression contains. More... | |
abstract void | GetFacs (ref List< string > result, bool onlyPercent=false) |
Gets a list of all facs measurements that this boolean expression contains. More... | |
abstract void | GetAttributes (ref List< string > result) |
Gets a list of all attributes that this boolean expression contains. More... | |
abstract void | GetNumericalAttributes (ref List< string > result) |
abstract void | GetGroups (ref List< int > result) |
abstract void | SetFilterManager (FilterManager filterManager) |
Saves the filtermanager that this filter is managed by, must be set before calling Eval(Cell). More... | |
abstract void | SwapPercentExpressions (Tuple< string, float, float >[] ranges) |
Swaps the percent expressions still in the filter, given the genes/facs ranges. More... | |
Public Attributes | |
bool | combined = false |
Protected Member Functions | |
Func< float, float, bool > | TokenToFunc (Token op) |
|
pure virtual |
Evaluates a cell according to this boolean expression.
cell | The cell to evaluate. |
Implemented in CellexalVR.AnalysisLogic.BooleanExpression.NotExpr, CellexalVR.AnalysisLogic.BooleanExpression.XorExpr, CellexalVR.AnalysisLogic.BooleanExpression.OrExpr, CellexalVR.AnalysisLogic.BooleanExpression.AndExpr, CellexalVR.AnalysisLogic.BooleanExpression.AttributeExpr, CellexalVR.AnalysisLogic.BooleanExpression.SelectionGroupExpr, CellexalVR.AnalysisLogic.BooleanExpression.FacsExpr, and CellexalVR.AnalysisLogic.BooleanExpression.GeneExpr.
|
pure virtual |
Gets a list of all attributes that this boolean expression contains.
result | A reference to a list where the results should be put. |
onlyPercent | True if only attributes that are not yet converted from percent to absolute values should be returned, false otherwise. |
Implemented in CellexalVR.AnalysisLogic.BooleanExpression.NotExpr, CellexalVR.AnalysisLogic.BooleanExpression.XorExpr, CellexalVR.AnalysisLogic.BooleanExpression.OrExpr, CellexalVR.AnalysisLogic.BooleanExpression.AndExpr, CellexalVR.AnalysisLogic.BooleanExpression.AttributeExpr, CellexalVR.AnalysisLogic.BooleanExpression.SelectionGroupExpr, CellexalVR.AnalysisLogic.BooleanExpression.FacsExpr, and CellexalVR.AnalysisLogic.BooleanExpression.GeneExpr.
|
pure virtual |
Gets a list of all facs measurements that this boolean expression contains.
result | A reference to a list where the results should be put. |
onlyPercent | True if only facs measurements that are not yet converted from percent to absolute values should be returned, false otherwise. |
Implemented in CellexalVR.AnalysisLogic.BooleanExpression.NotExpr, CellexalVR.AnalysisLogic.BooleanExpression.XorExpr, CellexalVR.AnalysisLogic.BooleanExpression.OrExpr, CellexalVR.AnalysisLogic.BooleanExpression.AndExpr, CellexalVR.AnalysisLogic.BooleanExpression.AttributeExpr, CellexalVR.AnalysisLogic.BooleanExpression.SelectionGroupExpr, CellexalVR.AnalysisLogic.BooleanExpression.FacsExpr, and CellexalVR.AnalysisLogic.BooleanExpression.GeneExpr.
|
pure virtual |
Gets a list of all genes that this boolean expression contains.
result | A reference to a list where the results should be put. |
onlyPercent | True if only genes that are not yet converted from percent to absolute values should be returned, false otherwise. |
Implemented in CellexalVR.AnalysisLogic.BooleanExpression.NotExpr, CellexalVR.AnalysisLogic.BooleanExpression.XorExpr, CellexalVR.AnalysisLogic.BooleanExpression.OrExpr, CellexalVR.AnalysisLogic.BooleanExpression.AndExpr, CellexalVR.AnalysisLogic.BooleanExpression.AttributeExpr, CellexalVR.AnalysisLogic.BooleanExpression.SelectionGroupExpr, CellexalVR.AnalysisLogic.BooleanExpression.FacsExpr, and CellexalVR.AnalysisLogic.BooleanExpression.GeneExpr.
string CellexalVR.AnalysisLogic.BooleanExpression.Expr.OpToString | ( | Func< float, float, bool > | op | ) |
Turns a function that evaluates an operator into a string.
|
pure virtual |
Saves the filtermanager that this filter is managed by, must be set before calling Eval(Cell).
Implemented in CellexalVR.AnalysisLogic.BooleanExpression.NotExpr, CellexalVR.AnalysisLogic.BooleanExpression.XorExpr, CellexalVR.AnalysisLogic.BooleanExpression.OrExpr, CellexalVR.AnalysisLogic.BooleanExpression.AndExpr, CellexalVR.AnalysisLogic.BooleanExpression.AttributeExpr, CellexalVR.AnalysisLogic.BooleanExpression.SelectionGroupExpr, CellexalVR.AnalysisLogic.BooleanExpression.FacsExpr, and CellexalVR.AnalysisLogic.BooleanExpression.GeneExpr.
|
pure virtual |
Swaps the percent expressions still in the filter, given the genes/facs ranges.
ranges | An array of Tuple<string, float, float> where Item1 is the name of the gene/facs, Item2 is the lower range and Item3 is the higher range. |
Implemented in CellexalVR.AnalysisLogic.BooleanExpression.NotExpr, CellexalVR.AnalysisLogic.BooleanExpression.XorExpr, CellexalVR.AnalysisLogic.BooleanExpression.OrExpr, CellexalVR.AnalysisLogic.BooleanExpression.AndExpr, CellexalVR.AnalysisLogic.BooleanExpression.AttributeExpr, CellexalVR.AnalysisLogic.BooleanExpression.SelectionGroupExpr, CellexalVR.AnalysisLogic.BooleanExpression.FacsExpr, and CellexalVR.AnalysisLogic.BooleanExpression.GeneExpr.