collapseDataset: Collapse dataset

collapseDatasetR Documentation

Collapse dataset

Description

collapseDataset performs a collapse action on expression set

Usage

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

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

## End(Not run)

ctlab/phantasus documentation built on Oct. 11, 2024, 4:11 p.m.