mincut.cv {martini} | R Documentation |
Run the cross-validated min-cut algorithm
mincut.cv( gwas, net, covars, etas, lambdas, criterion, score, sigmod, family, link )
gwas |
A SnpMatrix object with the GWAS information. |
net |
An igraph network that connects the SNPs. |
covars |
A data frame with the covariates. It must contain a column 'sample' containing the sample IDs, and an additional columns for each covariate. |
family |
A string defining the generalized linear model family. This should match one of "binomial", "poisson", "gaussian" or "gamma". See snp.rhs.tests for details. |
link |
A string defining the link function for the GLM. This should match one of "logit", "log", "identity" or "inverse". See snp.rhs.tests for details. |