Description Usage Arguments Value Examples
For different weight values, computes for each variable the p-value using 'wcomp.MiRKAT' function and implements a linear regression model giving back its slope and the p-value for the slope.
For different weight values, computes for each variable the p-value using 'wcomp.MiRKAT' function and implements a linear regression model giving back its slope and the p-value for the slope.
1 2 3 4 5 | multiwcomp.MiRKAT(x, y, w.seq = c(0.1, 0.4, 0.7, 1, 2, 3, 4, 5), cov = NULL,
zero.rep = T, pseudocount = 1)
multiwcomp.MiRKAT(x, y, w.seq = c(0.1, 0.4, 0.7, 1, 2, 3, 4, 5), cov = NULL,
zero.rep = T, pseudocount = 1)
|
x |
matrix with the composition for each individual |
y |
response variable: dichotomous or continuous |
w.seq |
vector of weights to consider in the analysis |
cov |
covariates to hace into account as a possible confounding factors |
zero.rep |
logical value indicating if cmultRepl() frunction from zCompositions should be used in order to replace null values. |
pseudocount |
a value to add to the whole matrix in order to avoid zeros. Only if zero.rep == FALSE. |
x |
matrix with the composition for each individual |
y |
response variable: dichotomous or continuous |
w.seq |
vector of weights to consider in the analysis |
cov |
covariates to hace into account as a possible confounding factors |
zero.rep |
logical value indicating if cmultRepl() frunction from zCompositions should be used in order to replace null values. |
pseudocount |
a value to add to the whole matrix in order to avoid zeros. Only if zero.rep == FALSE. |
a data.frame with the slope and its p-value for the linear regression model of wcomp.MiRKAT p-values considering the given weights.
a data.frame with the slope and its p-value for the linear regression model of wcomp.MiRKAT p-values considering the given weights.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.