CellexalVR  1.1.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 NetworkReader.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...
 
void DeleteNetwork ()
 Used to delete this network. Starts the same animation that is used to minimze but deletes the obj when its been minimized. 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>()
 
Selection selection
 
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 NetworkReader.NetworkKeyPair[]  keyPairs,
ref Dictionary< string, NetworkNode nodes 
)

Saves the arcs that go between the networks.

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

◆ CreateNetworkAnimation()

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

Spawn network beside graph it was created from.

◆ DeleteNetwork()

void CellexalVR.AnalysisObjects.NetworkHandler.DeleteNetwork ( )

Used to delete this network. Starts the same animation that is used to minimze but deletes the obj when its been minimized.

<summary

◆ 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: