Description Usage Arguments Value Author(s) See Also Examples
This function retrieves sample-level gene annotation (e.g. differential expression, methylation status) and returns a revised annotatedIGraph
object with the
sample-specific data merged in with the existing annotation.
1 | get.sample.overlays(db.con, param.obj, graph.obj, sample.id.list)
|
db.con |
An object inheriting from |
param.obj |
A |
graph.obj |
An |
sample.id.list |
A list with three elements: 'recon' is the human readable name, 'ind' is the database index value and 'num.pats' is the number of samples in the database. |
An annotatedIGraph
containing the sample-specific data merged in with the exising annotation supplied in graph.obj
.
Daniel Bottomly
annotatedIGraph
, priorDbParams
1 2 3 4 5 6 7 8 9 10 | if (require(RSQLite) && require(HitWalkerData))
{
set.seed(123)
data(params)
db.con <- dbConnect("SQLite", hitwalker.db.path())
graph.obj <- loadGraph(graph.file.path(), examp.prior.param)
sample.id.list <- reconcile.sample.name("08-00102", db.con, examp.prior.param)
new.graph.obj <- get.sample.overlays(db.con, examp.prior.param, graph.obj, sample.id.list)
##Note that the graph.obj will look the same in this example. See the Hitwalker_Add_Metadata vignette for an actual example
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.