Skip to content
Jiaming Dong edited this page Jan 5, 2016 · 4 revisions

List Network

Gets the info for all uploaded networks.

Params

type: string // ='list-network'

Return

!Array<{
  fileName: string,
  networkName: string,
  description: string
}>

Get Network

Gets the sub-network with the given genes.

Params

type: string,         // ='network'
fileName: string,     // File Name of the network.
geneRegex: string,    // Regex that selecting the genes of the network.
fileType: string      // Type of source file, 'bin' or 'text'.

Return

{
  nodes: !Array<{
    id: string,
    isTF: boolean, 
    label: string
  }>,
  edges: !Array<{
    id: string,                // source.id + ',' + target.id
    source: string,
    target: string,
    weight: !Array<number>
  }>,
  valueNames: !Array<string>,  // name of each weight attribute
  weightMax: number,           // max weight,
  weightMin: number            // min weight
}

Incident Edges

Finds the incident edges of a given gene.

Params

type: string,         // ='incidentEdges'
fileName: string,     // File Name of the network.
geneName: string      // Name of the gene.

Return

!Array<{
  id: string,
  source: string,
  target: string
  weight: number
}>

Combined Regulation

Finds the targets regulated by all the given TFs.

Params

type: string,         // ='combinedRegulation'
fileName: string,     // File Name of the network.
geneRegex: string     // Regex that selects the TFs.

Return

!Array<{
  id: string,
  isTF: string,
  label: string
}>