Description Usage Arguments Value Examples
Asymptotic test
1 | test_asymp(Y, X, Z = NULL, space_y = FALSE, number_y = length(unique(Y)))
|
Y |
a numeric vector of size |
X |
a data frame of numeric or factor vector(s) of size |
Z |
a data frame of numeric or factor vector(s)
of size |
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 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.
1 2 3 | X <- as.factor(rbinom(n=100, size = 1, prob = 0.5))
Y <- ((X==1)*rnorm(n = 50,0,1)) + ((X==0)*rnorm(n = 50,0.5,1))
res_asymp <- test_asymp(Y,data.frame(X=X))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.