R: Construct differential expression ratio network

get_diff_ratio_net {Corbi} | R Documentation

## Construct differential expression ratio network

### Description

Construct the differential expression ratio network for a single sample.

### Usage

    get_diff_ratio_net(
      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:

`net` | The binary adjacent matrix of differential expression ratio network.
`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.

[Package Corbi version 0.6-1 Index]