arrange: S3 sort function for DataSetList

View source: R/DataSetList.R

arrangeR Documentation

S3 sort function for DataSetList

Description

Sorts a DataSetList based on the custom specified attributes ('algId', 'DIM' or 'funcId'). Default is as ascending, can be made descending by adding a - in front of the attribute. Sorting accross multiple attributes is supported, in the order they are specified.

Usage

arrange(dsl, ...)

## S3 method for class 'DataSetList'
arrange(dsl, ...)

Arguments

dsl

The DataSetList to sort

...

attribute by which 'dsl' is sorted. Multiple attributes can be specified.

Examples

arrange(dsl, DIM, -funcId, algId)

IOHprofiler/IOHanalyzer documentation built on Feb. 1, 2024, 11:35 a.m.