grep_fields: Find matching field names

View source: R/fields.R

grep_fieldsR Documentation

Find matching field names

Description

This utility function allows quick text-based search of available fields for using grep

Usage

grep_fields(entity, pattern, ..., value = TRUE)

Arguments

entity

one of the available gdc entities ('files','cases',...) against which to gather available fields for matching

pattern

A regular expression that will be used in a call to grep

...

passed on to grep

value

logical(1) whether to return values as opposed to indices (passed along to grep)

Value

character() vector of field names matching pattern

Examples

grep_fields('files','analysis')


Bioconductor/GenomicDataCommons documentation built on Jan. 30, 2024, 11:59 p.m.