CellexalVR
1.1.0
A virtual reality platform for the exploration and analysis of single-cell gene expression data
|
Manages our current filter and the filter creator. More...
Public Member Functions | |
void | LoadFilter (string path) |
Loads a filter from a path. More... | |
void | SaveFilter () |
Saves the current filter as a text file. More... | |
void | ActivateCullingFilter () |
Changes the filter temporarily so it does not add points to selection but instead makes them clippable in the shader. More... | |
void | AddCellToEval (Graph.GraphPoint graphPoint, int group) |
Adds a cell to evaluate later with the current filter. More... | |
void | AddCellsToEval (IEnumerable< Graph.GraphPoint > points, int group) |
Adds multiple cells to evaluate later with the current filter. More... | |
void | PortClicked (FilterCreatorBlockPort clickedPort) |
Tells the filter manager that a port was clicked. Handles the preview wire. More... | |
void | ParseFilter (string filter) |
Parses a string and turns it into a filter. More... | |
void | UpdateFilterFromFilterCreator () |
Updates the current filter based on the blocks in the filter creator. More... | |
void | UpdateFilterFromFilterButton (Filter filter) |
Updates the filter based on a filter stored with a button. More... | |
void | ResetFilter () |
Public Attributes | |
ReferenceManager | referenceManager |
GameObject | wirePrefab |
FilterCreatorResultBlock | resultBlock |
TextMeshPro | filterPreviewText |
Filter | currentFilter |
Properties | |
Dictionary< Tuple< string, string >, float > | GeneExprs [get, set] |
Manages our current filter and the filter creator.
void CellexalVR.Filters.FilterManager.ActivateCullingFilter | ( | ) |
Changes the filter temporarily so it does not add points to selection but instead makes them clippable in the shader.
void CellexalVR.Filters.FilterManager.AddCellsToEval | ( | IEnumerable< Graph.GraphPoint > | points, |
int | group | ||
) |
Adds multiple cells to evaluate later with the current filter.
points | The points to evaluate later. |
group | The group to give the points if they pass the filter. |
void CellexalVR.Filters.FilterManager.AddCellToEval | ( | Graph.GraphPoint | graphPoint, |
int | group | ||
) |
Adds a cell to evaluate later with the current filter.
graphPoint | The graphpoint representing the cell. |
group | The group to give the cell if it passes the filter. |
void CellexalVR.Filters.FilterManager.LoadFilter | ( | string | path | ) |
Loads a filter from a path.
path | A path to the file containing the filter. |
void CellexalVR.Filters.FilterManager.ParseFilter | ( | string | filter | ) |
Parses a string and turns it into a filter.
filter | The string to parse. |
void CellexalVR.Filters.FilterManager.PortClicked | ( | FilterCreatorBlockPort | clickedPort | ) |
Tells the filter manager that a port was clicked. Handles the preview wire.
clickedPort | The clicked port. |
void CellexalVR.Filters.FilterManager.SaveFilter | ( | ) |
Saves the current filter as a text file.
void CellexalVR.Filters.FilterManager.UpdateFilterFromFilterButton | ( | Filter | filter | ) |
Updates the filter based on a filter stored with a button.
filter | The filter stored in the button. |
void CellexalVR.Filters.FilterManager.UpdateFilterFromFilterCreator | ( | ) |
Updates the current filter based on the blocks in the filter creator.