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

Public Member Functions

Definitions.Measurement LookUpName (string name)
 Looks up if a string is a gene, facs marker or an attribute. More...
 
void UpdateList (string word)
 Updates the list with appropriate guesses for what the user might mean when they typed something on the keyboard. More...
 
void ClearList ()
 Clears the panels containing the suggestions. More...
 

Public Attributes

ReferenceManager referenceManager
 
List< ClickableTextPanellistNodes
 
bool buildTree
 

Protected Member Functions

int LevenshteinDistance (string word1, string word2)
 Calculates the Levenshtein distance between two words. More...
 

Properties

bool ListEnabled = true [get, set]
 

Member Function Documentation

◆ ClearList()

void CellexalVR.Interaction.AutoCompleteList.ClearList ( )

Clears the panels containing the suggestions.

◆ LevenshteinDistance()

int CellexalVR.Interaction.AutoCompleteList.LevenshteinDistance ( string  word1,
string  word2 
)
protected

Calculates the Levenshtein distance between two words.

Parameters
word1The first word.
word2The second word.
Returns
The Levenshtein distance between word1 and word2 .

◆ LookUpName()

Definitions.Measurement CellexalVR.Interaction.AutoCompleteList.LookUpName ( string  name)

Looks up if a string is a gene, facs marker or an attribute.

Parameters
nameThe name of a gene, facs marker or attribute.
Returns
The type of name , or Definitions.Measurement.INVALID if name is neither a gene, facs marker nor attribute.

◆ UpdateList()

void CellexalVR.Interaction.AutoCompleteList.UpdateList ( string  word)

Updates the list with appropriate guesses for what the user might mean when they typed something on the keyboard.

Parameters
wordThe word typed on the keyboard.

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