Description Usage Arguments Value Note Author(s) See Also Examples
This function retrieves the hit data from the specified connection and summarizes the scores as specified in the function retrieved through the getScoreSummaryFunc
method of priorDbParams
.
1 | get.hit.prots(sample.id.list, db.con, param.obj)
|
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. |
db.con |
An object inherited from |
param.obj |
A |
A list with three elements:
A vector containing scores for each of the specified summary IDs values with corresponding names.
The data.frame
retrieved from the hit query with the additional combined hit score column.
The summary ID column to use for hit data downstream.
The score summary function should take a data.frame
as the argument and return a modified data.frame
containing an additional column named as in the getCombScoreName
method of priorDbParams
.
Daniel Bottomly
1 2 3 4 5 6 7 8 9 | set.seed(123)
if (require(RSQLite) && require(HitWalkerData))
{
data(params)
db.con <- dbConnect("SQLite", hitwalker.db.path())
sample.id.list <- reconcile.sample.name("08-00102", db.con, examp.prior.param)
hit.list <- get.hit.prots(sample.id.list, db.con, examp.prior.param)
dbDisconnect(db.con)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.