eSetToLongTable: Transform eSet to long data.frame

View source: R/transformations.R

eSetToLongTableR Documentation

Transform eSet to long data.frame

Description

Transform eSet to long data.frame

Usage

eSetToLongTable(
  x,
  exprsFun = function(eset) Biobase::exprs(eset),
  includeOtherAssayData = FALSE
)

Arguments

x

An eSet object

exprsFun

A function to extract expression values, by default exprs

includeOtherAssayData

Logical, whether other elements in the assayData environment (if present) should be returned.

The function extracts exprs (and other values in the assayData environment), and return it in a long data.frame format with phenotypic data

Examples

data(ribios.ExpressionSet, package="ribiosExpression")
exprsLongTbl <- eSetToLongTable(ribios.ExpressionSet)
seLongTbl <- eSetToLongTable(ribios.ExpressionSet, 
   exprsFun=function(eset) Biobase::assayData(eset)$se.exprs)

bedapub/ribiosExpression documentation built on Sept. 2, 2023, 4:37 a.m.