Skip to contents

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.