sort_samples: Sort sample names

Description Usage Arguments Value Functions Author(s) Examples

View source: R/sort_samples.R

Description

Sort samples names using the first and last run of numbers in a string

Usage

1
2
3
sort_samples(samples)

order_samples(samples)

Arguments

samples

a vector of sample names

Value

A vector

Functions

Author(s)

Chris Stubben

Examples

1
2
3
 ids <- c("135X1", "135X21", "135X2", "135X10", "81X5", "81X15")
 sort(ids)
 sort_samples(ids)

HuntsmanCancerInstitute/hciR documentation built on Jan. 10, 2020, 5:52 p.m.