ct.RRAalpha: 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 is called internally as a single instance of the beta aggregation step in RRAa. Users should not interact with it directly. The expected input is a list of rank statistics, and a paired alpha argument defining which values to consider in downstream analyses (see below).

Usage

1
ct.RRAalpha(p, g.key, shuffle = FALSE)

Arguments

p

A single column matrix of rank statistics, with row.names indicating the gRNA labels.

g.key

data.frame with guide and gene names

shuffle

Logical indicating whether to shuffle the rank statistics prior to calculating the rho statistics (useful for permutation).

Value

Nothing, or a named list of target-level P-values, which are treated as a rho statistic in the permutation step.

Author(s)

Russell Bainer

Examples

1
2
3
data('fit')
data('ann')
geneScores <- ct.RRAalpha(fit$p.value, ann, shuffle = FALSE)

gCrisprTools documentation built on May 31, 2017, 11:42 a.m.