listNodes: Select nodes and edges

Description Usage Arguments Examples

View source: R/listNodes.R

Description

This function selects nodes and edges from a list of gene regulatory networks

Usage

1
listNodes(A, edgeRank, nodeRank)

Arguments

A

A is dynamic gene regulatory network, a list of numerical matrix.

edgeRank

edgeRank is the edges number of a matrix.

nodeRank

nodeRank is the nodes number of a matrix.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (A, edgeRank, nodeRank)
{
    listNode <- list()
    length(listNode) <- length(A)
    for (i in c(1:length(A))) {
        listNode[[i]] <- matrixNodes(A[[i]], edgeRank, nodeRank)
    }
    return(listNode)
  }

xzheng-ac/scPADGRN documentation built on July 26, 2020, 12:41 a.m.