rlogit {ebGenotyping}R Documentation

Inverse Logit Transformation

Description

This function is for calculating the inverse logit transformation:exp(x)/(1+exp(x))

Usage

rlogit(x)

Arguments

x

A numeric vector

Details

In order to avoid overflow, we define the function like this: rlogit <- function(x) return(ifelse(x>100,1,exp(x)/(1+exp(x))))

Value

exp(x)/(1+exp(x))

Author(s)

Na You <youn@mail.sysu.edu.cn> and Gongyi Huang<53hgy@163.com>

References

Na You and Gongyi Huang.(2016) An Empirical Bayes Method for Genotyping and SNP detection Using Multi-sample Next-generation Sequencing Data.

Examples

rlogit(-3)

[Package ebGenotyping version 2.0.1 Index]