Learn R Programming

tidypopgen (version 0.4.3)

filter.gen_tbl: Tidyverse methods for gt objects

Description

A filter method for gen_tibble objects

Usage

# S3 method for gen_tbl
filter(..., deparse.level = 1)

Value

a gen_tibble

Arguments

...

a gen_tibble and a data.frame or tibble

deparse.level

an integer controlling the construction of column names.

Examples

Run this code
test_gt <- load_example_gt("gen_tbl")
test_gt %>% filter(id %in% c("a", "c"))

Run the code above in your browser using DataLab