netDEG_pvalue {Corbi}R Documentation

Calculate netDEG p-values

Description

Perform the single or two side tests and calculate the p-values.

Usage

netDEG_pvalue(ref.ratio.dist, expr.val, log.expr = FALSE, scale.degree = FALSE)

Arguments

ref.ratio.dist

The expression ratio distribution profile returned by get_ratio_distribution or get_ratio_distribution2.

expr.val

Numeric vector of gene expression values in the sample.

log.expr

Logical variable indicating whether the input expression vector is in logarithmic scale.

scale.degree

Logical variable indicating whether the degree values are scaled according to the dropout rate.

Value

This function will return a list with the following components:

up

A numeric vector containing the p-values of up-regulation test.

down

A numeric vector containing the p-values of down-regulation test.

twoside

A numeric vector containing the p-values of twoside test.


[Package Corbi version 0.6-1 Index]