col.slice: col.slice

col.sliceR Documentation

col.slice

Description

Hacked operator for subsetting columns of data.frames, DataFrames, data.tables, GRanges using a vector of regexps

df

Usage

df %!% ...

Arguments

df

data.frame

regex

string to match or number in which case that column is returned (same behavior for data.table)

Value

slices of data.frame matching regex

Author(s)

Marcin Imielinski


mskilab/skitools documentation built on June 15, 2025, 2:54 p.m.