collapseDataset: Collapse dataset

Description Usage Arguments Value Examples

Description

collapseDataset performs a collapse action on expression set

Usage

1
2
3
4
5
6
7
8
collapseDataset(
  es,
  isRows = TRUE,
  selectOne = FALSE,
  fn,
  fields,
  removeEmpty = TRUE
)

Arguments

es

Expression set

isRows

Work with rows. False if columns (default True - row mode)

selectOne

select best match or merge duplicates

fn

select/merge function

fields

fields to unique on

removeEmpty

remove unannotated genes

Value

Nothing. Collapsed dataset will be assigned to es in environment

Examples

1
2
3
4
5
6
## Not run: 
es <- getGSE('GSE53986')[[1]]
collapseDataset(es, isRows = TRUE, selectOne = TRUE,
fn = mean, fields = c('Gene ID', 'Gene symbol'))

## End(Not run)

phantasus documentation built on Nov. 8, 2020, 6:39 p.m.