View source: R/GeneSetDb-methods.R
addGeneSetMetadata | R Documentation |
This function adds/updates columns entries in the geneSets(gdb)
table.
If there already are defined meta values for the columns of meta
in x
,
these will be updated with the values in meta
.
addGeneSetMetadata(x, meta, ...)
x |
a |
meta |
a |
... |
not used yet |
TODO: should this be a setReplaceMethod, Issue #13 (?) https://github.com/lianos/multiGSEA/issues/13
the updated GeneSetDb
object x
.
gdb <- exampleGeneSetDb()
meta.info <- transform(
geneSets(gdb)[, c("collection", "name")],
someinfo = sample(c("one", "two"), nrow(gdb), replace = TRUE))
gdb <- addGeneSetMetadata(gdb, meta.info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.