kimma_lmerel | R Documentation |
Run kimma linear mixed effects model with kinship
kimma_lmerel(
model_lme,
to_model_gene,
gene,
kin_subset,
use_weights,
patientID,
metrics
)
model_lme |
Character model created in kmFit |
to_model_gene |
Data frame formatted in kmFit, subset to gene of interest |
gene |
Character of gene to model |
kin_subset |
Pairwise kinship matrix |
use_weights |
Logical if gene specific weights should be used in model. Default is FALSE |
patientID |
Character of variable name to match dat$targets to kinship row and column names. |
metrics |
Logical if should calculate model fit metrics such as AIC, BIC, R-squared. Default is FALSE |
Linear mixed effect with kinship results data frame for 1 gene
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.