glmHBD | R Documentation |
Logistic regression on HBD probability or FLOD score
glmHBD(x, expl_var, covar_df, covar, n.cores = 1, run = FALSE, phen.code)
x |
an atlas object |
expl_var |
the explanatory variable 'FLOD' or 'HBD_prob' |
covar_df |
a dataframe containing covariates |
covar |
covariates of interest such as 'age', 'sex' , ... if missing, all covariates of the dataframe are considered |
n.cores |
number of cores for parallelization calculation (default = 1) |
run |
whether the fonction is called or not (default = FALSE) |
phen.code |
phenotype coding : - 'R' : 0:control ; 1:case ; NA:unknown (default) - 'plink' : 1:control ; 2:case ; 0/-9/NA:unknown if 'plink' the function automatically convert it to 'R' to run logistic regression |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.