ct.buildSE: Package Screen Data into a 'SummarizedExperiment' Object

Description Usage Arguments Value Author(s) Examples

View source: R/fileutilities.R

Description

Convenience function to package major components of a screen into a 'SummarizedExperiment' container for downstream visualization and analysis. All arguments are optional except for 'es'.

Usage

1
2
3
4
5
6
7
8
ct.buildSE(
  es,
  sampleKey = NULL,
  ann = NULL,
  vm = NULL,
  fit = NULL,
  summaryList = NULL
)

Arguments

es

An 'ExpressionSet' of screen data. Required.

sampleKey

a gCrisprTools 'sampleKey' object, to be added to the 'colData'.

ann

Annotation object to be packaged into the 'rowData'

vm

A 'voom'-derived normalized object

fit

a 'MArrayLM' object containing the contrast information and model results

summaryList

A named list of data.frames, returned by ct.generateResults. if you need to generate one of these by hand for some reason, see the example resultsDF object loaded in the example below.

Value

A 'SummarizedExperiment' object.

Author(s)

Russell Bainer

Examples

1
2
data('ann', 'es', 'fit', 'resultsDF')
ct.buildSE(es, ann = ann, fit = 'fit', summaryList = list('resA' = resultsDF, 'resB' = resultsDF))

gCrisprTools documentation built on Nov. 8, 2020, 8:17 p.m.