ct.alphaBeta {gCrisprTools} | R Documentation

## Aggregation of P-value Ranks using a Beta Distribution and Alpha Cutoff

### Description

This function calculates an alpha-modified rho statistic from a set of normalized ranks by comparing them to a uniform distribution. Specifically, the ranks are ordered and p-values calculated at each position in the ordered vector by comparison to a Beta distribution. The rho value returned is the smallest p-value identified in this way across all scores. Should not be used by end users.

### Usage

    ct.alphaBeta(p.in)

### Arguments

`p.in` | A single column matrix of rank scores, with row.names indicating the gRNA labels.

### Value

A numeric rho value corresponding to the minimum rank order P.

### Author(s)

Russell Bainer, modified from code from the `RobustRankAggreg` package.

Citation: Kolde, R. et al, Bioinformatics. 2012 Feb 15;28(4):573-80. doi: 10.1093/bioinformatics/btr709.

### Examples

    library(RobustRankAggreg)
    testp <- runif(20)

    min(betaScores(testp))
    ct.alphaBeta(testp)

[Package gCrisprTools version 1.14.0 Index]