Learn R Programming

ebGenotyping (version 2.0.1)

logit: Logit Transformation

Description

This function is for calculating the logit transformation:ln(x/(1-x))

Usage

logit(x)

Arguments

x
A numeric vector, whose elements are all greater than 0 and less than 1.

Value

ln(x/(1-x))

References

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

Examples

Run this code
logit(0.5)

Run the code above in your browser using DataLab