Get a subset of compositional data

Share:

Description

Return a subset of provenance data according to some specified indices

Usage

1
2
3
## S3 method for class 'compositional'
subset(x, subset = NULL, select = NULL,
  components = NULL, ...)

Arguments

x

an object of class compositional

subset

logical expression indicating elements or rows to keep: missing values are taken as false.

select

a vector of sample names.

components

a vector specifying a subcomposition

...

optional arguments for the generic subset function

Value

an object of class compositional

See Also

read.compositional

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.