glmHBD: Logistic regression on HBD probability or FLOD score

View source: R/glmHBD.r

glmHBDR Documentation

Logistic regression on HBD probability or FLOD score

Description

Logistic regression on HBD probability or FLOD score

Usage

glmHBD(x, expl_var, covar_df, covar, n.cores = 1, run = FALSE, phen.code)

Arguments

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


genostats/FEstim documentation built on Feb. 3, 2023, 7:33 p.m.