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
)
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:
The binary adjacent matrix of differential expression ratio network.
A numeric vector containing the adjusted degree differences of all genes.
A list containing the raw degree differences and sums of all genes.