pivotExpressionSet {SomaDataIO} | R Documentation |
Convert to Long Format
Description
Utility to convert an ExpressionSet
class object
from the "wide" data format to the "long" format via pivot_longer()
.
The Biobase package is required for this function.
Usage
pivotExpressionSet(eSet)
meltExpressionSet(eSet)
Arguments
eSet |
An |
Value
A tibble
consisting of the long format
conversion of an ExpressionSet
object.
Functions
-
meltExpressionSet()
: . Please now usepivotExpressionSet()
.
Author(s)
Stu Field
See Also
Other eSet:
adat2eSet()
Examples
# subset into a reduced mini-ADAT object
# 10 samples (rows)
# 5 clinical variables and 3 features (cols)
sub_adat <- example_data[1:10, c(1:5, 35:37)]
ex_set <- adat2eSet(sub_adat)
# convert ExpressionSet object to long format
adat_long <- pivotExpressionSet(ex_set)
[Package SomaDataIO version 6.1.0 Index]