get_diff_ratio_net {Corbi} | R Documentation |
Construct the differential expression ratio network for a single sample.
get_diff_ratio_net( ref.ratio.dist, expr.val, log.expr = FALSE, scale.degree = FALSE )
ref.ratio.dist |
The expression ratio distribution profile returned by |
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. |
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. |