glm.predict.: Computes prior probability of mutations

View source: R/glm.predict..r

glm.predict.R Documentation

Computes prior probability of mutations

Description

This is an auxiliary function in single package. It evaluates the sigmoidal function given by the parameters slope and intercept on x.

Usage

glm.predict.(x, slope, intercept)

Arguments

x

Numeric. Values to evaluate.

slope

Slope of the sigmoidal function to evaluate.

intercept

Intercept of the sigmoidal function to evaluate.

Value

Numeric.

Examples

x = c(-10:10)
y = glm.predict.(x,1,2)
plot(x,y)

rocioespci/single documentation built on April 18, 2023, 8:48 p.m.