a numeric vector of size n containing the
preprocessed expression for a given gene from n samples (or cells).
X
a data frame of numeric or factor vector(s) of size n
containing the variable(s) to be tested (the condition(s))
Z
a data frame of numeric or factor vector(s)
of size n containing the covariate(s)
space_y
a logical flag indicating whether the y thresholds are spaced.
When space_y is TRUE, a regular sequence between the minimum and
the maximum of the observations is used. Default is FALSE.
number_y
an integer value indicating the number of y thresholds (and therefore
the number of regressions) to perform the test. Default is length(Y).
Value
A data frame with the following elements:
raw_pval contains the raw p-values for a given gene.
Stat contains the test statistic for a given gene.