get_log_p_D_KL_continuous.Rd
Estimates the significance of the observed Kullback-Leibler divergence by comparing to randomizations for the continuous version of haystack.
get_log_p_D_KL_continuous(
D_KL.observed,
D_KL.randomized,
all.coeffVar,
train.coeffVar,
output.dir = NULL,
spline.method = "ns"
)
A vector of observed Kullback-Leibler divergences.
A matrix of Kullback-Leibler divergences of randomized datasets.
Coefficients of variation of all genes. Used for fitting the Kullback-Leibler divergences.
Coefficients of variation of genes that will be used for fitting the Kullback-Leibler divergences.
Optional parameter. Default is NULL. If not NULL, some files will be written to this directory.
Method to use for fitting splines "ns" (default): natural splines, "bs": B-splines.
A vector of log10 p values, not corrected for multiple testing using the Bonferroni correction.