subset: subset a Metabolite object.

View source: R/generics.R

subsetR Documentation

subset a Metabolite object.

Description

subset a Metabolite object.

Usage

subset(object, subset, select)

## S3 method for class 'Metabolite'
subset(object, subset, select)

Arguments

object

An object, data.frame, data.table or Metabolite.

subset

logical expression indicating rows to keep (samples). Expression will be evaluate in the '@sampleData'.

select

expression indicating columns to select (features). See subset. Expression will be evaluate in the '@assayData'.

Value

An object after subsetting rows or columns.


XikunHan/metabolomicsR documentation built on Oct. 14, 2024, 3:18 p.m.