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

This class starts the thread that generates the network files and then tells the inputreader to process them. More...

Inheritance diagram for CellexalVR.AnalysisLogic.NetworkGenerator:

Public Member Functions

void CreateLineMaterials ()
 Creates the materials used when drawing the lines between genes in networks. More...
 
void GenerateNetworks ()
 
void GenerateNetworks (int layoutSeed)
 Generates networks based on the selectiontoolhandler's last selection. More...
 
NetworkNode CreateNetworkNode (string geneName, NetworkCenter center)
 Helper method to create network nodes. More...
 
NetworkCenter CreateNetworkCenter (NetworkHandler handler, string name, Vector3 position, int layoutSeed)
 Creates a new network center. More...
 
NetworkHandler FindNetworkHandler (string networkName)
 Finds a networkhandler. More...
 
void HighLightGene (string geneName)
 Highlights a gene in all networks with a red circle. More...
 

Public Attributes

ReferenceManager referenceManager
 
NetworkCenter networkCenterPrefab
 
NetworkNode networkNodePrefab
 
Material networkNodeDefaultMaterial
 
Material networkLineDefaultMaterial
 
List< NetworkHandlernetworkList = new List<NetworkHandler>()
 
int selectionNr
 
string networkMethod
 
Material[] LineMaterials
 
SelectionManager selectionManager
 

Properties

bool GeneratingNetworks [get]
 

Detailed Description

This class starts the thread that generates the network files and then tells the inputreader to process them.

Member Function Documentation

◆ CreateLineMaterials()

void CellexalVR.AnalysisLogic.NetworkGenerator.CreateLineMaterials ( )

Creates the materials used when drawing the lines between genes in networks.

◆ CreateNetworkCenter()

NetworkCenter CellexalVR.AnalysisLogic.NetworkGenerator.CreateNetworkCenter ( NetworkHandler  handler,
string  name,
Vector3  position,
int  layoutSeed 
)

Creates a new network center.

Parameters
handlerThe handler the center should be connected to.
nameThe name of the center.
positionThe position it should sit at. Should be from Graph.ScaleCoordinates(float, float, float).
Returns
The new network center.

◆ CreateNetworkNode()

NetworkNode CellexalVR.AnalysisLogic.NetworkGenerator.CreateNetworkNode ( string  geneName,
NetworkCenter  center 
)

Helper method to create network nodes.

Parameters
geneNameThe name of the gene that the network node should represent.
Returns
Returns the newly created NetworkNode.

◆ FindNetworkHandler()

NetworkHandler CellexalVR.AnalysisLogic.NetworkGenerator.FindNetworkHandler ( string  networkName)

Finds a networkhandler.

Parameters
networkNameThe name of the networkhandler
Returns
A reference to the networkhandler, or null if non was found.

◆ GenerateNetworks()

void CellexalVR.AnalysisLogic.NetworkGenerator.GenerateNetworks ( int  layoutSeed)

Generates networks based on the selectiontoolhandler's last selection.

◆ HighLightGene()

void CellexalVR.AnalysisLogic.NetworkGenerator.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: