adjacentEdges: grab children of a given entity

Usage Arguments Examples

Usage

1

Arguments

synId

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
##---- 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 (synId)
{
    str <- paste("SELECT id, name, concreteType FROM entity WHERE parentId==\"",
        synId, "\"", sep = "")
    foo <- synQuery(str, blockSize = 300)
    res <- foo$collectAll()
    if (ncol(res) == 0) {
        return(NULL)
    }
    else {
        return(res)
    }
  }

Sage-Bionetworks/rSynapseUtilities documentation built on May 9, 2019, 12:13 p.m.