rankZ {DOQTL} | R Documentation

## Rank Z transformation

### Description

This is also called the inverse normal transformation. We rank the data in x, divide by n-1, and take quantiles from the normal distribution using qnorm.

### Usage

      rankZ(x)

### Arguments

`x` | Numeric vector of values to be transformed.

### Details

We often use this when there are hundreds or thousands of phenotypes. This allows us to calculate permutation derived thresholds once and use them for all phenotypes.

### Value

Numeric vector with a normal distribution.

### Author(s)

Daniel Gatti

### Examples

      rankZ(rlnorm(20))

[Package DOQTL version 1.16.2 Index]