Learn R Programming

CEDA (version 1.1.1)

alphaBeta: Calculating a significance score of a gene based on the corresponding sgRNAs' p-values of the gene.

Description

Code was adapted from R package gscreend.

Usage

alphaBeta(pvec)

Value

A min value of the kth smallest value based on the beta distribution B(k, n-k+1), where the n is the number of probabiliteis in the vector. This min value is the significance score of the gene.

Arguments

pvec

A numeric vector of p-values.