ct.alphaBeta: Aggregation of P-value Ranks using a Beta Distribution and...

Description Usage Arguments Value Author(s) Examples

View source: R/RRAalpha.R

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

1

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

1
2
3
4
5
library(RobustRankAggreg)
testp <- runif(20)

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

gCrisprTools documentation built on Nov. 17, 2017, 1:37 p.m.