mincut.cv: Run the cross-validated min-cut algorithm

View source: R/scones.R

mincut.cvR Documentation

Run the cross-validated min-cut algorithm

Description

Run the cross-validated min-cut algorithm

Usage

mincut.cv(
  gwas,
  net,
  covars,
  etas,
  lambdas,
  criterion,
  score,
  sigmod,
  family,
  link,
  max_prop_snp
)

Arguments

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.


hclimente/martini documentation built on Feb. 26, 2024, 6:23 p.m.