Perform the single or two side tests and calculate the p-values.
netDEG_pvalue(ref.ratio.dist, expr.val, log.expr = FALSE, scale.degree = FALSE)
The expression ratio distribution profile returned by get_ratio_distribution
or get_ratio_distribution2
.
Numeric vector of gene expression values in the sample.
Logical variable indicating whether the input expression vector is in logarithmic scale.
Logical variable indicating whether the degree values are scaled according to the dropout rate.
This function will return a list with the following components:
A numeric vector containing the p-values of up-regulation test.
A numeric vector containing the p-values of down-regulation test.
A numeric vector containing the p-values of twoside test.