annotate_eset_list: Function to complile a data frame with per-instance...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/utility-functions.R

Description

For each eSet in the 'eset.list', the pData slot is examined. Perturbation instances are identified as a match to 'perturbation' in the 'cmap.column' of the pData slot. The first matching row is extracted and transfered into the output data.frame, which contains one row for each eSet in the 'eset.list'. Only annotation columns found in the pData slots of all eSets in the 'eset.list' are returned.

Usage

1
annotate_eset_list(eset.list, cmap.column = "cmap", perturbation = "perturbation")

Arguments

eset.list

A list of eSet objects, usually generated by a call to the splitPerturbations functions

cmap.column

The name of the pData column for eSets in 'eset.list' identifying treatment and control samples.

perturbation

The character string in the 'cmap.column' of the pData column for eSets in 'eset.list' identifying perturbation associated with treated samples.

Value

A data frame with one row for each eSet in the input 'eset.list' and all columns found in the original eSet pData slot.

Author(s)

Thomas Sandmann

See Also

splitPerturbations

Examples

1

gCMAP documentation built on April 29, 2020, 3:54 a.m.