Description Usage Arguments Value Author(s) Examples
This is a wrapper function implementing the RRAalpha p-value aggregation algorithm. Takes in a set of gRNA rank scores (formatted as a single-column numeric matrix with row.names indicating the guide names) and a list object of gRNA annotations (names are the gene targets, and each element of the list contains a vector of the corresponding guide names). The rank scores are converted to gene-level statistics that are thenm transformed into empirical p-values by permutation.
1 | ct.RRAaPvals(p, g.key, permute, permutation.seed = NULL, multi.core = NULL)
|
p |
A single column matrix of ranking scores, with row.names indicating the gRNA labels |
g.key |
An annotation data frame of gRNAs, minimally containing a factorized "geneSymbol" column indicating the target names. This is typically generated by calling the |
permute |
Number of permutations to be used during empirical p-value estimation. |
permutation.seed |
numeric seed for permutation reproducibility.
Default: |
multi.core |
Deprecated, does nothing |
A named list of target-level empirical P-values.
Russell Bainer
1 2 3 | data('fit')
data('ann')
genePvals <- ct.RRAaPvals(fit$p.value, ann, permute = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.