| buildLLR.gauss | R Documentation |
Build LLR function using Gaussian densities.
buildLLR.gauss(posScores, negScores, spline = TRUE)
posScores |
fitness scores in the positive reference set |
negScores |
fitness scores in the negative reference set |
spline |
logical; whether or not to apply spline monotonization. TRUE by default. |
a list containing the LLR function in log10 scale and the positive and negative density functions
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.