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

Represents an entry in GroupingLegend. More...

Inheritance diagram for CellexalVR.AnalysisObjects.GroupingLegendEntry:

Public Member Functions

void SetPanelText (string groupName, int numberOfCells, string percentOfSelected, string percentOfAll, Color color)
 Sets all text fields in this entry. More...
 
void UpdatePercentages (string percentOfSelected, string percentOfAll)
 Updates the percentages of this group. More...
 

Public Attributes

GameObject colorSquare
 
TextMeshPro groupName
 
TextMeshPro numberOfCellsText
 
TextMeshPro percentOfSelectedText
 
TextMeshPro percentOfAllText
 
GameObject topDivider
 
GameObject filterButton
 
int numberOfCells
 

Detailed Description

Represents an entry in GroupingLegend.

Member Function Documentation

◆ SetPanelText()

void CellexalVR.AnalysisObjects.GroupingLegendEntry.SetPanelText ( string  groupName,
int  numberOfCells,
string  percentOfSelected,
string  percentOfAll,
Color  color 
)

Sets all text fields in this entry.

Parameters
groupNameThe name of the group.
numberOfCellsThe number of cells the group contains.
percentOfSelectedThe percent of all selected groups.
percentOfAllThe percent of all cells in the dataset.
colorThe color of the group.

◆ UpdatePercentages()

void CellexalVR.AnalysisObjects.GroupingLegendEntry.UpdatePercentages ( string  percentOfSelected,
string  percentOfAll 
)

Updates the percentages of this group.

Parameters
percentOfSelectedThe percent of all selected groups.
percentOfAllThe percent of all cells in the dataset.

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