CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.AnalysisObjects.Graph.GraphPoint Class Reference

A graph point represents a point in the graphs as well as one cell in the dimension reduced data. More...

Public Member Functions

 GraphPoint (string label, float x, float y, float z, Graph parent)
 
override string ToString ()
 
void ScaleCoordinates ()
 Scales this graph point's coordinates from the graph's original scale to it's desired scale. More...
 
void SetTextureCoord (Vector2Int newPos)
 Sets this graph point's texture coordinates. More...
 
void ColorGeneExpression (int i)
 Colors this graph point according to a gene expression. More...
 
void ColorSelectionColor (int i, bool outline)
 Colors this graph point according to a selection color. More...
 
void HighlightGraphPoint (bool active)
 Highlights this graph point with an outline, or removes highlighting from this graph point. More...
 
void ResetColor ()
 Resets this graph point's color to the default color. More...
 
Color GetColor ()
 Get the color of this graph point. More...
 

Public Attributes

string Label
 
Vector3 Position
 
GameObject cluster
 
int index
 
Vector2Int textureCoord = new Vector2Int()
 
Graph parent
 
bool unconfirmedInSelection
 
OctreeNode node
 

Properties

int Group [get, set]
 
Vector3 WorldPosition [get]
 

Detailed Description

A graph point represents a point in the graphs as well as one cell in the dimension reduced data.

Member Function Documentation

◆ ColorGeneExpression()

void CellexalVR.AnalysisObjects.Graph.GraphPoint.ColorGeneExpression ( int  i)

Colors this graph point according to a gene expression.

Parameters
iA value between 0 and the number of available gene expression colors.

◆ ColorSelectionColor()

void CellexalVR.AnalysisObjects.Graph.GraphPoint.ColorSelectionColor ( int  i,
bool  outline 
)

Colors this graph point according to a selection color.

Parameters
iA value between 0 and the number of avaliable selection colors.
outlineTrue if this graph point should be given an outline, false if not.

◆ GetColor()

Color CellexalVR.AnalysisObjects.Graph.GraphPoint.GetColor ( )

Get the color of this graph point.

Returns
The color that this graph point is currently shown as.

◆ HighlightGraphPoint()

void CellexalVR.AnalysisObjects.Graph.GraphPoint.HighlightGraphPoint ( bool  active)

Highlights this graph point with an outline, or removes highlighting from this graph point.

Parameters
activeTrue if the highlightin, false if removing highlighting.

◆ ResetColor()

void CellexalVR.AnalysisObjects.Graph.GraphPoint.ResetColor ( )

Resets this graph point's color to the default color.

◆ ScaleCoordinates()

void CellexalVR.AnalysisObjects.Graph.GraphPoint.ScaleCoordinates ( )

Scales this graph point's coordinates from the graph's original scale to it's desired scale.

◆ SetTextureCoord()

void CellexalVR.AnalysisObjects.Graph.GraphPoint.SetTextureCoord ( Vector2Int  newPos)

Sets this graph point's texture coordinates.

Parameters
newPosThe new texture coordinates.

The documentation for this class was generated from the following file: