fisher_fdr: Compute FDRs for Fisher's test p-values.

Description Usage Arguments Value

View source: R/fisher_fdr.R

Description

Linear fit to the tail of empirical null distribution of Fisher p-values; FDR computation: compare true to simulated CDF(empirical null).

Usage

1
fisher_fdr(true_pv, sim_pv, cell_names, lmmax = 0.001)

Arguments

true_pv

The Fisher's test p-values for the observation.

sim_pv

The Fisher's test p-values for the permutations.

cell_names

A character vector. The names of cells.

lmmax

Numeric value. Default: 0.001. The threshold parameter for the linear fit.

Value

A list containing the matrix of the FDR values (mat_fdr)


seqpipe/SCclust documentation built on May 4, 2021, 11:56 a.m.