CellexalVR  1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
CellexalVR.AnalysisLogic.BoxPlot Class Reference
Inheritance diagram for CellexalVR.AnalysisLogic.BoxPlot:
CellexalVR.Interaction.CellexalRaycastable

Public Member Functions

void InitBoxPlot (string facsName, float median, float percentile5th, float percentile95th, float minValue, float maxValue)
 Sets the values of this boxplot so it can be resized with ResizeComponents(float, float) later. More...
 
void ResizeComponents (float globalMinValue, float globalMaxValue)
 Resizes this boxplot based on the global min and max value of all boxplots in the grid. More...
 
void SetInfoTextActive (bool active)
 Activates or deactivates the info text box. More...
 
override void OnRaycastEnter ()
 Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More...
 
override void OnRaycastExit ()
 Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More...
 
- Public Member Functions inherited from CellexalVR.Interaction.CellexalRaycastable
virtual void OnRaycastHit (RaycastHit hitInfo, CellexalRaycast raycaster)
 Called by CellexalRaycast.Update every frame that a raycast hit this target. More...
 

Public Attributes

GameObject box
 
GameObject medianLine
 
GameObject verticalWhiskerLine
 
GameObject lowerWhisker
 
GameObject upperWhisker
 
TextMeshPro facsName
 
GameObject textParent
 
TextMeshPro[] infoTexts
 
float median
 
float percentile5th
 
float percentile95th
 
float minValue
 
float maxValue
 
string facsNameString
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Member Function Documentation

◆ InitBoxPlot()

void CellexalVR.AnalysisLogic.BoxPlot.InitBoxPlot ( string  facsName,
float  median,
float  percentile5th,
float  percentile95th,
float  minValue,
float  maxValue 
)

Sets the values of this boxplot so it can be resized with ResizeComponents(float, float) later.

Parameters
facsNameThe name of the facs that this boxplot represents.
medianThe median value.
percentile5thThe 5th percentage value.
percentile95thThe 95th percentage value.
minValueThe minimum extreme value.
maxValueThe maximum extreme value.

◆ OnRaycastEnter()

override void CellexalVR.AnalysisLogic.BoxPlot.OnRaycastEnter ( )
virtual

Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast.

Reimplemented from CellexalVR.Interaction.CellexalRaycastable.

◆ OnRaycastExit()

override void CellexalVR.AnalysisLogic.BoxPlot.OnRaycastExit ( )
virtual

Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore.

Reimplemented from CellexalVR.Interaction.CellexalRaycastable.

◆ ResizeComponents()

void CellexalVR.AnalysisLogic.BoxPlot.ResizeComponents ( float  globalMinValue,
float  globalMaxValue 
)

Resizes this boxplot based on the global min and max value of all boxplots in the grid.

Parameters
globalMinValueThe global minimum extreme value.
globalMaxValueThe global maximum extreme value.

◆ SetInfoTextActive()

void CellexalVR.AnalysisLogic.BoxPlot.SetInfoTextActive ( bool  active)

Activates or deactivates the info text box.

Parameters
activeTrue if the info box should be activated, false if it should be deactivated.

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