View source: R/DVboostQscore.R
DVboostQscore | R Documentation |
After training procedure, DVboost assigns Q scores to each SV based on training on a subset of SVs (only DEL). The higher the Q score, the more likely it is a true SV.
DVboostQscore(DVb.res, tmp.mtx)
DVb.res |
output generated by |
tmp.mtx |
output generated by |
A data.frame with same format as tmp.mtx
with one additional field Qscore
runDVboostwrapper
data(ExampleData, package='DVboost')
sample <- 'NA12878'
outdir <- getwd()
tmp.mtx.DEL <- ExampleData[ExampleData$SVType == 'DEL',]
truth.vec <- tmp.mtx.DEL$CNVMAP == 1 | tmp.mtx.DEL$CNVR ==1
is.semi.truth.vec <- as.numeric(truth.vec)
DVb.res <- runDVboostwrapper( var.atr.mtx = tmp.mtx.DEL, var.ID.vec = rownames(tmp.mtx.DEL),
is.known.var.vec = is.semi.truth.vec,
output.DIR.name = outdir, input.sample.ID=sample, bySVlength=FALSE)
outmat <- DVboostQscore(DVb.res, ExampleData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.