fit_null_glm | R Documentation |
The fit_null_glm
function is a wrapper of the glm
function from the
stats
package that fits a regression model under the null hypothesis for
unrelated samples, which provides the preliminary step for subsequent
variant-set tests in whole-genome sequencing data analysis. See glm
for more details.
fit_null_glm(fixed, data, family = binomial(link = "logit"), ...)
fixed |
an object of class |
data |
a data frame or list (or object coercible by |
family |
a description of the error distribution and link function to be used
in the model. This can be a character string naming a family function, a family
function or the result of a call to a family function. (See |
... |
additional arguments that could be passed to |
The function returns an object of the model fit from glm
(obj_nullmodel
),
with an additional element indicating the samples are unrelated
(obj_nullmodel$relatedness = FALSE
). See glm
for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.