View source: R/pivotExpressionSet.R
| pivotExpressionSet | R Documentation |
Utility to convert an ExpressionSet class object
from the "wide" data format to the "long" format via tidyr::pivot_longer().
The Biobase package is required for this function.
pivotExpressionSet(eSet)
meltExpressionSet(eSet)
eSet |
An |
A tibble consisting of the long format
conversion of an ExpressionSet object.
Stu Field
Other eSet:
adat2eSet()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.