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.

1 | ```
ct.alphaBeta(p.in)
``` |

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

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

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.

1 2 3 4 5 | ```
library(RobustRankAggreg)
testp <- runif(20)
betaScores((testp))
ct.alphaBeta(testp)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.