tidy {BaseSet} | R Documentation |
Convert GSEABase classes to a TidySet
Description
Convert GSEABase classes to a TidySet
Usage
tidy(object)
## S3 method for class 'GeneSetCollection'
tidy(object)
## S3 method for class 'GeneSet'
tidy(object)
Arguments
object |
A GeneSetCollection or a GeneSet derived object |
Value
A TidySet object.
Methods (by class)
-
tidy(GeneSetCollection)
: Converts to a tidySet given a GeneSetCollection -
tidy(GeneSet)
: Converts to a tidySet given a GeneSet
Examples
# Needs GSEABase pacakge from Bioconductor
if (requireNamespace("GSEABase", quietly = TRUE)) {
library("GSEABase")
gs <- GeneSet()
gs
tidy(gs)
fl <- system.file("extdata", "Broad.xml", package="GSEABase")
gs2 <- getBroadSets(fl) # actually, a list of two gene sets
TS <- tidy(gs2)
dim(TS)
sets(TS)
}
[Package BaseSet version 0.9.0 Index]