get_snp_modules: Return groups of interconnected SNPs.

View source: R/legacy.R

get_snp_modulesR Documentation

Return groups of interconnected SNPs.

Description

Find modules composed by interconnected SNPs.

Usage

get_snp_modules(gwas, net)

Arguments

gwas

A SnpMatrix object with the GWAS information.

net

An igraph network that connects the SNPs.

Value

A list with the modules of selected SNPs.

Examples

## Not run: 
gi <- get_GI_network(minigwas, snpMapping = minisnpMapping, ppi = minippi)
cones <- search_cones(minigwas, gi)
martini:::get_snp_modules(cones, gi)

## End(Not run)

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