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

Public Types

enum  SortOrder { DEFAULT, MEDIAN, BOX_HEIGHT }
 Represent the different orders that the box plots can be sorted by. Default is the order the FACS names are written in the input files More...
 

Public Member Functions

void GenerateBoxPlots (Selection selection)
 Generates new box plots from a given selection. More...
 
void GenerateBoxPlot (List< float > values, string facs)
 Creates a new box plot from the given values. More...
 
void SetSelection (Selection selection, int group=-1)
 Sets the selection that this collection of boxplots represents. More...
 
void ResizeAllBoxPlots ()
 Resizes all boxplots depending on the global minimum and maximum values in them. Should be called once all boxplots have been generated with GenerateBoxPlot. More...
 
void ClearBoxPlots ()
 Removes all box lots, does not remove the background or parent gameobject. GenerateBoxPlots(List<Graph.GraphPoint>) can be called to populate this BoxPlotGrid again. More...
 
void Remove ()
 Destroys this gameobject and all box plots it contains. More...
 
void SortBoxPlotsByMedian ()
 Sorts all box plots by their median value, in ascending order. More...
 
void SortBoxPlotsByHeight ()
 Sorts all box plots by their boxes' heights, in descending order. More...
 
void SortBoxPlotsByDefault ()
 Sorts all box plots by the default order they were written in the input files. More...
 
void HighlightSelection ()
 Highlights this the group in all graphs that this grid of boxplots was made from. More...
 
void ClearHighlight ()
 Clears the group highlighting from HighlightSelection. More...
 
- Public Member Functions inherited from CellexalVR.AnalysisObjects.EnvironmentTab
void SetTabActive (bool active)
 Enables or disables the content gameobject of this tab. 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...
 
virtual void OnRaycastEnter ()
 Called on the first frame that this CellexalRaycastable is hit by a CellexalRaycast. More...
 
virtual void OnRaycastExit ()
 Called on the first frame that this CellexalRaycastable is not hit by a CellexalRaycast anymore. More...
 

Public Attributes

ReferenceManager referenceManager
 
BoxPlot boxPlotPrefab
 
- Public Attributes inherited from CellexalVR.AnalysisObjects.EnvironmentTab
EnvironmentTabButton tabButton
 
GameObject contentParent
 
EnvironmentMenuWithTabs parentMenu
 
- Public Attributes inherited from CellexalVR.Interaction.CellexalRaycastable
UnityEvent OnActivate
 
UnityEvent RaycastEnter
 
UnityEvent RaycastExit
 
bool canBePushedAndPulled = true
 
bool active = true
 

Member Enumeration Documentation

◆ SortOrder

Represent the different orders that the box plots can be sorted by. Default is the order the FACS names are written in the input files

Member Function Documentation

◆ ClearBoxPlots()

void CellexalVR.AnalysisLogic.BoxPlotGrid.ClearBoxPlots ( )

Removes all box lots, does not remove the background or parent gameobject. GenerateBoxPlots(List<Graph.GraphPoint>) can be called to populate this BoxPlotGrid again.

◆ ClearHighlight()

void CellexalVR.AnalysisLogic.BoxPlotGrid.ClearHighlight ( )

Clears the group highlighting from HighlightSelection.

◆ GenerateBoxPlot()

void CellexalVR.AnalysisLogic.BoxPlotGrid.GenerateBoxPlot ( List< float >  values,
string  facs 
)

Creates a new box plot from the given values.

Parameters
valuesA list of values to create the box plot from.
facsThe label to put over the box plot.

◆ GenerateBoxPlots()

void CellexalVR.AnalysisLogic.BoxPlotGrid.GenerateBoxPlots ( Selection  selection)

Generates new box plots from a given selection.

Parameters
selectionA list of graphpoints to use for the boxplots. Or null for all cells in the current dataset.

◆ HighlightSelection()

void CellexalVR.AnalysisLogic.BoxPlotGrid.HighlightSelection ( )

Highlights this the group in all graphs that this grid of boxplots was made from.

◆ Remove()

void CellexalVR.AnalysisLogic.BoxPlotGrid.Remove ( )

Destroys this gameobject and all box plots it contains.

◆ ResizeAllBoxPlots()

void CellexalVR.AnalysisLogic.BoxPlotGrid.ResizeAllBoxPlots ( )

Resizes all boxplots depending on the global minimum and maximum values in them. Should be called once all boxplots have been generated with GenerateBoxPlot.

◆ SetSelection()

void CellexalVR.AnalysisLogic.BoxPlotGrid.SetSelection ( Selection  selection,
int  group = -1 
)

Sets the selection that this collection of boxplots represents.

Parameters
selectionThe selection that is used to create the box plots.
groupOptional. One of the selection's groups, from Selection.groups, if the boxplots corresponds to only one group of the selection.

◆ SortBoxPlotsByDefault()

void CellexalVR.AnalysisLogic.BoxPlotGrid.SortBoxPlotsByDefault ( )

Sorts all box plots by the default order they were written in the input files.

◆ SortBoxPlotsByHeight()

void CellexalVR.AnalysisLogic.BoxPlotGrid.SortBoxPlotsByHeight ( )

Sorts all box plots by their boxes' heights, in descending order.

◆ SortBoxPlotsByMedian()

void CellexalVR.AnalysisLogic.BoxPlotGrid.SortBoxPlotsByMedian ( )

Sorts all box plots by their median value, in ascending order.


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