synAncestry: Retrieve parentId chain

View source: R/traversal.R

synAncestryR Documentation

Retrieve parentId chain

Description

Recursively reconstructs parentId ancestry for a given Synapse ID

Usage

synAncestry(...)

Arguments

...

One or more Synapse IDs for which ancestry is to be reconstructed

Value

For each requested ID, the function returns a vector of parentId ancestry. The first entry in each vector is the query ID itself; the last entry is the project.

Examples

## Not run: 
synAncestry( "syn15663039", "syn1695362" )
# $syn15663039
# [1] "syn15663039" "syn15673834" "syn15673837" "syn12180284"
#
# $syn1695362
# [1] "syn1695362" "syn1695324" "syn2812925" "syn300013"

## End(Not run)

ArtemSokolov/synExtra documentation built on Sept. 27, 2022, 12:17 a.m.