synGlob: Traverse a synapse path with wildcard matching

View source: R/traversal.R

synGlobR Documentation

Traverse a synapse path with wildcard matching

Description

Starting from the provided synapse ID, traverses descendants by name that can contain wildcards (*) that match an arbitrary number of characters.

Usage

synGlob(sid, ..., .nested = FALSE)

Arguments

sid

Synapse ID of the starting entity

...

One or more names for constructing a path. Accepts individual names, vectors and lists

.nested

Return synapse paths as flat vector (FALSE) or as nested list following the directory structure (TRUE)

Details

Details about glob wildcard character matching are available in the Wikipedia article.

Value

Synapse IDs of the "plucked" entities

Examples

## Not run: 
synGlob( "syn26348949", "Runs", "*", "meta", "*.csv" )

## End(Not run)

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