subset.peak_table: Subset peak table

View source: R/get_peaktable.R

subset.peak_tableR Documentation

Subset peak table

Description

Returns subset of peak_table object.

Usage

## S3 method for class 'peak_table'
subset(x, subset, select, drop = FALSE)

Arguments

x

A peak_table object

subset

Logical expression indicating rows (samples) to keep from peak_table; missing values are taken as false.

select

Logical expression indicating columns (peaks) to select from peak_table.

drop

Logical. Passed to indexing operator.

Value

A peak_table object with samples specified by subset and peaks specified by select.

Author(s)

Ethan Bass


ethanbass/chromatographR documentation built on April 17, 2025, 10:55 a.m.