orderAccessions: Order Accessions

Description Usage Arguments Value See Also Examples

View source: R/Output_Functions.R

Description

orderAccessions orders character vectors or lists according to numbers, disregarding any lettrs.

Usage

1
orderAccessions(x, na.last = TRUE)

Arguments

x

Character vector (or list containing character vectors) to be ordered

na.last

For controlling the treatment of NAs (see order)

Value

Integer vector with order of indices

See Also

order

Examples

1
2
3
4
5
startSpiderSeqRDemo()
df <- searchForAccession("SRP026280") 
order_columns <- list(df$study_accession, df$sample_accession, 
    df$experiment_accession, df$run_accession, df$gsm)
df <- df[orderAccessions(order_columns), ]

ss-lab-cancerunit/SpiderSeqR documentation built on Nov. 2, 2020, 12:18 a.m.