makeRhoNull {CEDA}R Documentation

Generating the null distribution of the significance score of a gene.

Description

Code was adapted from R package gscreend.

Usage

makeRhoNull(n, p, nperm)

Arguments

n

An integer representing sgRNA number of a gene.

p

A numeric vector which contains the percentiles of the p-values that meet the cut-off (alpha).

nperm

Number of permutation runs.

Value

A numric vector which contains all the significance scores (rho) of genes generated by a permutation test where the sgRNAs are randomly assigned to genes.


[Package CEDA version 1.1.1 Index]