Represents one cell. A cell may be present in multiple graphs.
More...
|
| Cell (string label, GraphManager graphManager) |
| Creates a new cell. More...
|
|
void | AddGraphPoint (Graph.GraphPoint g) |
| Tell this cell that it is now represented by a graphpoint. A cell may be represented by many graphpoints (typically one in each graph). More...
|
|
void | ColorByCluster (int cluster, bool color) |
|
void | SaveExpression (string saveGeneName, string removeGeneName) |
| Saves the current gene expression of this cell is colored by More...
|
|
void | ColorByIndex (string facsName) |
| Color all graphpoints that represents this cell by an index. I don't know enough biology to know what this actually is. More...
|
|
void | ColorByGeneExpression (int i) |
| Colors this cell by a gene expression color. More...
|
|
void | AddNumericalAttribute (string attributeType, float value) |
| Other numerical attribute that is not facs value or gene expression. More...
|
|
void | SetGroup (int group, bool changeColor) |
| Sets the group and color of all graphpoints that are representing this cell. More...
|
|
void | InitSaveSingleFlashingGenesExpression (string category, int length) |
| Initializes the cell for saving genee expressions for flashing. Should be called before SaveSingleFlashingGenesExpression(string, int, int) More...
|
|
void | SaveSingleFlashingGenesExpression (string category, int index, int expression) |
| Saves a gene expression that can be flashed later. More...
|
|
void | SaveFlashingExpression (string category, int[] expression) |
| Saves gene expressions so they can be flashed quickly later. More...
|
|
void | ClearFlashingExpressions () |
| Clears the saved flashing expressions. More...
|
|
|
Dictionary< string, float > | Facs [get] |
|
Dictionary< string, string > | FacsValue [get] |
|
Dictionary< string, float > | NumericalAttributes [get] |
|
int | ExpressionLevel [get, set] |
|
float | ExpressionValue [get, set] |
|
string | Label [get, set] |
|
Represents one cell. A cell may be present in multiple graphs.
◆ Cell()
CellexalVR.AnalysisLogic.Cell.Cell |
( |
string |
label, |
|
|
GraphManager |
graphManager |
|
) |
| |
Creates a new cell.
- Parameters
-
label | A string that differentiates this cell from other cells. |
graphManager | The graphmanager that this cell has graphpoints in. |
◆ AddGraphPoint()
Tell this cell that it is now represented by a graphpoint. A cell may be represented by many graphpoints (typically one in each graph).
- Parameters
-
g | The graphpoint representing this cell. |
◆ AddNumericalAttribute()
void CellexalVR.AnalysisLogic.Cell.AddNumericalAttribute |
( |
string |
attributeType, |
|
|
float |
value |
|
) |
| |
Other numerical attribute that is not facs value or gene expression.
◆ ClearFlashingExpressions()
void CellexalVR.AnalysisLogic.Cell.ClearFlashingExpressions |
( |
| ) |
|
Clears the saved flashing expressions.
◆ ColorByGeneExpression()
void CellexalVR.AnalysisLogic.Cell.ColorByGeneExpression |
( |
int |
i | ) |
|
Colors this cell by a gene expression color.
- Parameters
-
i | A number between 0 and CellexalVR.General.CellexalConfig.Config.GraphNumberOfExpressionColors |
◆ ColorByIndex()
void CellexalVR.AnalysisLogic.Cell.ColorByIndex |
( |
string |
facsName | ) |
|
Color all graphpoints that represents this cell by an index. I don't know enough biology to know what this actually is.
- Parameters
-
◆ InitSaveSingleFlashingGenesExpression()
void CellexalVR.AnalysisLogic.Cell.InitSaveSingleFlashingGenesExpression |
( |
string |
category, |
|
|
int |
length |
|
) |
| |
◆ SaveExpression()
void CellexalVR.AnalysisLogic.Cell.SaveExpression |
( |
string |
saveGeneName, |
|
|
string |
removeGeneName |
|
) |
| |
Saves the current gene expression of this cell is colored by
- Parameters
-
saveGeneName | The genename to save |
removeGeneName | The name of a gene to remove or an empty string to not remove anything. Gene expressions can use up quite some memory so only 10 are saved at a time. |
◆ SaveFlashingExpression()
void CellexalVR.AnalysisLogic.Cell.SaveFlashingExpression |
( |
string |
category, |
|
|
int[] |
expression |
|
) |
| |
Saves gene expressions so they can be flashed quickly later.
- Parameters
-
category | The category the gene expressions are in |
expression | An array containing indices corresponding to GraphManager.GeneExpressionMaterials. |
◆ SaveSingleFlashingGenesExpression()
void CellexalVR.AnalysisLogic.Cell.SaveSingleFlashingGenesExpression |
( |
string |
category, |
|
|
int |
index, |
|
|
int |
expression |
|
) |
| |
Saves a gene expression that can be flashed later.
- Parameters
-
category | The name of the category that this gene is in |
index | Which index it should be put on |
expression | A value between 0 and CellexalConfig.Config.GraphNumberOfExpressionColors |
◆ SetGroup()
void CellexalVR.AnalysisLogic.Cell.SetGroup |
( |
int |
group, |
|
|
bool |
changeColor |
|
) |
| |
Sets the group and color of all graphpoints that are representing this cell.
- Parameters
-
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/AnalysisLogic/Cell.cs