# dot-quantileCorrelation: Compute the quantile-quantile correlation In goncalves-lab/waddR: Statistical tests for detecting differential distributions based on the 2-Wasserstein distance

## Description

Computes the quantile-quantile correlation of two samples x and y, using the quantile type 1 implementation in R and the Pearson correlation.

## Usage

 1 .quantileCorrelation(x, y, pr = NULL) 

## Arguments

 x numeric vector y numeric vector pr levels at which the quantiles of x and y are computed; by default, 1000 equidistant quantiles at levels \frac{k-0.5}{1000}, where k=1,…,1000, are used

## Value

quantile-quantile correlation of x and y

goncalves-lab/waddR documentation built on Oct. 28, 2021, 5:50 a.m.