Code was adapted from R package gscreend.
makeRhoNull(n, p, nperm)
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.
An integer representing sgRNA number of a gene.
A numeric vector which contains the percentiles of the p-values that meet the cut-off (alpha).
Number of permutation runs.