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

Represents a collection of networks placed on a skeleton like model of a graph. More...

Inheritance diagram for CellexalVR.AnalysisObjects.NetworkHandler:

Public Member Functions

void CalculateLayoutOnAllNetworks ()
 Calculates the 2D layout of all networks. More...
 
void CreateArcs (ref InputReader.NetworkKeyPair[] keyPairs, ref Dictionary< string, NetworkNode > nodes)
 Saves the arcs that go between the networks. More...
 
void CreateNetworkAnimation (Transform graph)
 Spawn network beside graph it was created from. More...
 
IEnumerator DeleteNetworkCoroutine ()
 Coroutine that deletes this network. More...
 
void DeleteNetworkMultiUser ()
 Used when another client removes the networks. More...
 
NetworkCenter FindNetworkCenter (string networkCenterName)
 Finds a networkcenter in this networkhandler. More...
 
void HighLightGene (string geneName)
 Highlights a gene in all networks with a red circle. More...
 

Public Attributes

Material highlightMaterial
 
Material normalMaterial
 
bool removable
 
bool removing = false
 
ReferenceManager referenceManager
 
List< NetworkCenternetworks = new List<NetworkCenter>()
 
int layoutApplied = 0
 

Properties

List< NetworkCenterReplacements [get]
 

Detailed Description

Represents a collection of networks placed on a skeleton like model of a graph.

Member Function Documentation

◆ CalculateLayoutOnAllNetworks()

void CellexalVR.AnalysisObjects.NetworkHandler.CalculateLayoutOnAllNetworks ( )

Calculates the 2D layout of all networks.

◆ CreateArcs()

void CellexalVR.AnalysisObjects.NetworkHandler.CreateArcs ( ref InputReader.NetworkKeyPair[]  keyPairs,
ref Dictionary< string, NetworkNode nodes 
)

Saves the arcs that go between the networks.

Parameters
keyPairsAn array of InputReader.NetworkKeyPair.
nodesAll nodes in all networks.

◆ CreateNetworkAnimation()

void CellexalVR.AnalysisObjects.NetworkHandler.CreateNetworkAnimation ( Transform  graph)

Spawn network beside graph it was created from.

◆ DeleteNetworkCoroutine()

IEnumerator CellexalVR.AnalysisObjects.NetworkHandler.DeleteNetworkCoroutine ( )

Coroutine that deletes this network.

◆ DeleteNetworkMultiUser()

void CellexalVR.AnalysisObjects.NetworkHandler.DeleteNetworkMultiUser ( )

Used when another client removes the networks.

◆ FindNetworkCenter()

NetworkCenter CellexalVR.AnalysisObjects.NetworkHandler.FindNetworkCenter ( string  networkCenterName)

Finds a networkcenter in this networkhandler.

Parameters
networkCenterNameThe name of the networkcenter
Returns
A reference to the networkcenter, or null if it was not found.

◆ HighLightGene()

void CellexalVR.AnalysisObjects.NetworkHandler.HighLightGene ( string  geneName)

Highlights a gene in all networks with a red circle.

Parameters
geneNameThe gene to highlight.

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