matchNested: Match inside nested elements

matchNestedR Documentation

Match inside nested elements

Description

Match inside nested elements

Usage

matchNested(x, table, ..., keep_duplicates = FALSE)

## S4 method for signature 'character,list'
matchNested(x, table, keep_duplicates)

## S4 method for signature 'numeric,list'
matchNested(x, table, keep_duplicates)

## S4 method for signature 'character,data.table'
matchNested(x, table, keep_duplicates)

## S4 method for signature 'numeric,data.table'
matchNested(x, table, keep_duplicates)

## S4 method for signature 'character,data.frame'
matchNested(x, table, keep_duplicates)

## S4 method for signature 'character,data.frame'
matchNested(x, table, keep_duplicates)

Arguments

x

The values to be matched.

table

The values to be matched against. Applies across rows for DataFrame method.

...

Additional arguments to be passed to the method.

keep_duplicates

A logical value indicating whether to keep duplicates.

Details

Intentionally only performs exact matching. Refer to filterNested function for partial matching support with regular expressions.

Value

integer. A positional vector corresponding to values defined in table the same size as x.

Examples

showMethods("matchNested")

bhklab/AnnotationGx documentation built on April 3, 2025, 4:27 p.m.