sortClinicalData: Sort Clinical Data by a Column

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.R

Description

Sort sample information by a column defined by byItem (a column header). This function is for sorting sample information only.

Usage

1
    sortClinicalData(clinicalData, byItem)

Arguments

clinicalData

A data frame with rows for samples and columns for features. Sample names must be in the first column.

byItem

character vector of a feature (column header) by which the data will be sorted.

Value

sampleData

copy of the first argument with new row order.

Author(s)

Henry Zhang

Examples

1
2

caOmicsV documentation built on Nov. 8, 2020, 8:23 p.m.