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 ExpressionSet
class object, created using adat2eSet()
.
Value
A tibble
consisting of the long format
conversion of an ExpressionSet
object.
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)