View source: R/GenePvalsFromEset.R

ct.applyAlpha | R Documentation |

The 'alpha' part of RRAalpha is used to consider only the top guide-level scores for gene-level statistics. Practically, all guides failing the cutoff get a pvalue of 1. There are three ways of determining which guides fail. See 'scoring' below.

ct.applyAlpha( stats, RRAalphaCutoff = 0.1, scoring = c("combined", "pvalue", "fc") )

`stats` |
three-column numeric matrix with pvalues for down and up one-sided test with guide-level fold changes (coefficients from the relevant contrast). |

`RRAalphaCutoff` |
A cutoff to use when defining gRNAs with significantly altered abundance during the RRAa aggregation step, which may be specified
as a single numeric value on the unit interval or as a logical vector. When supplied as a logical vector (of length equal to |

`scoring` |
The gRNA ranking method to use in RRAa aggregation. May take one of three values: |

data.frame with guide-level pvals, fold change, and scores.deplete and scores.enrich which are the input the RRAalpha

Russell Bainer

fakestats <- matrix(runif(300), ncol = 3) colnames(fakestats) = c('Depletion.P', 'Enrichment.P', 'lfc') ct.applyAlpha(fakestats)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.