drawDensityLLR: Draw a plot that summarizes the densities and LLR calculated...

View source: R/buildLLR.R

drawDensityLLRR Documentation

Draw a plot that summarizes the densities and LLR calculated by other functions

Description

Draw a plot that summarizes the densities and LLR calculated by other functions

Usage

drawDensityLLR(scores, llrFun, posDens, negDens, posScores, negScores)

Arguments

scores

the numerical scores in the Mave map

llrFun

the LLR function

posDens

the density function of the positive reference set

negDens

the density function of the negative reference set

posScores

the numerical scores in the postive reference set

negScores

the numerical scores in the negative reference set

Value

nothing

Examples

posScores <- rnorm(50,0.2,0.3)
negScores <- rnorm(30,0.8,0.2)
llr <- buildLLR.gauss(posScores,negScores)
drawDensityLLR(c(posScores,negScores),llr$llr,llr$posDens,llr$negDens,posScores,negScores)


jweile/maveLLR documentation built on July 19, 2022, 10:42 a.m.