Description Usage Arguments Value Examples
Function to compute (un)conditional cumulative distribution function (CDF), used by plot_CCDF function.
1 2 3 4 5 6 7 8 9 |
Y |
a numeric vector of size |
X |
a data frame containing numeric or factor vector(s) of size |
Z |
a data frame containing numeric or factor vector(s) of size |
method |
a character string indicating which method to use to
compute the CCDF, either |
fast |
a logical flag indicating whether the fast implementation of
logistic regression should be used. Only if |
space_y |
a logical flag indicating whether the y thresholds are spaced.
When |
number_y |
an integer value indicating the number of y thresholds (and therefore
the number of regressions) to perform the test. Default is |
A list with the following elements:
cdf
: a vector of the cumulative distribution function of a given gene.
ccdf
: a vector of the conditional cumulative distribution function of a given gene, computed
given X
. Only if Z
is NULL
.
ccdf_nox
: a vector of the conditional cumulative distribution function of a given gene, computed
given Z
only (i.e. X
is ignored.). Only if Z
is not NULL
.
ccdf_x
: a vector of the conditional cumulative distribution function of a given gene, computed
given X
and Z
. Only if Z
is not NULL
.
y_sort
: a vector of the sorted expression points at which the CDF and the CCDFs are calculated.
x_sort
: a vector of the variables associated with y_sort
.
z_sort
: a vector of the covariates associated with y_sort
. Only if Z
is not NULL
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.