get_adjusted_deg_diff: Calculate adjusted degree differences for given network

View source: R/deg_rationet.R

get_adjusted_deg_diffR Documentation

Calculate adjusted degree differences for given network

Description

Calculate the adjusted degree differences for all genes in the given network.

Usage

get_adjusted_deg_diff(net, log.expr.val, scale.degree = FALSE, p = 0.5)

Arguments

net

The binary adjacent matrix of differential expression ratio network.

log.expr.val

Numeric vector containing the logarithmic scale gene expression values.

scale.degree

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

p

The parameter for calculating the adjusted degree differences.

Value

This function will return a list with the following components:

diff

A numeric vector containing the adjusted degree differences of all genes.

degree

A list containing the raw degree differences and sums of all genes.


wulingyun/Corbi documentation built on May 11, 2022, 11:32 p.m.