Get the located signal subpathways

Share:

Description

Locate signal subpathways competitively regulated by lncRNAs.

Usage

1
2
getLocSubGraphLnc(moleculeList, graphList, type="gene_lncRNA", 
   n=1, s=8, method = "shortestPaths")

Arguments

moleculeList

A character vector. Such as competitively regulated lncRNAs and/or differentially expressed genes under disease phenotypes. Gene should be geneid.

graphList

A graph list. There nodes must be represented by genes.

type

A character string. Should be one of "gene", "lncRNA" or "gene_lncRNA".

n

An integer. The maximum acceptable quantities of non-signature node at the shortest path between each two interested molecules.

s

An integer. The minimum acceptable quantities of nodes in located subpathways.

method

A character string. In which the shorest path algorithms will be used.

Details

We apply lenient distance similarity method to locate signal subpathways competitively regulated by miRNAs. We first map user competitively regulated lncRNAs and/or interested genes to pathways as signatures. For a given pathway, we compute the shortest path between any two signatures. In shortest path, if the number of non-signature nodes between two signatures is no more than n, then these two signature nodes and other nodes at the shortest path are added into the same node set. We extract the corresponding subgraph in the pathway graph according to each node set. We finally define these subgraphs with node number >= s as the subpathway regions of the pathway. The argument n is maximum number of permitted non-signature nodes at the shortest path between signature nodes. The default parameter n=1. The argument s is used to filter subpathways in which the number of nodes are less than the parameter s. The default parameter s=8. The argument method determines which shortest path algorithms will be used. We set the default value as "get.shortest.paths".

Value

A list of graphs.

Author(s)

Xinrui Shi, Chunquan Li and Xia Li

See Also

getInteGraphList, identifyLncGraphW

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

### Integrate lncRNAs of competitive regulation into KEGG pathway graphs ###
  LncGenePairs<-GetExampleData(exampleData="LncGenePairs")
  interUMGraph<-getInteUMGraph(LncGenePairs)
### get user-interested lncRNAs and genes sets.
##geneLnc<-c(getBackground(type="gene")[1:3000],unique(LncGenePairs[1,]))
  geneLnc<-GetExampleData(exampleData="geneLnc")
# get locate subpathways.
  sub<-getLocSubGraphLnc(geneLnc,interUMGraph,type="gene_lncRNA",n=1,s=8)
  

## End(Not run)