rewire_network {kangar00}R Documentation

Rewires interactions in a pathway, which go through a gene not represented by any SNPs in the considered GWASdata dataset.

Description

Rewires interactions in a pathway, which go through a gene not represented by any SNPs in the considered GWASdata dataset.

Usage

## S4 method for signature 'pathway'
rewire_network(object, x)

Arguments

object

pathway object which's network matrix will be rewired

x

A vector of gene names, indicating which genes are not represented by SNPs in the considered GWASdata object and will be removed

Value

A pathway object including the rewired network matrix

Author(s)

Juliane Manitz, Stefanie Friedrichs

Examples

## Not run: 
data(hsa04020)
summary(hsa04020)
hsa04020_rewired <- rewire_network(hsa04020, x=c('ADCY3', 'CALML3','GNAQ'))
summary(hsa04020_rewired)

## End(Not run)

[Package kangar00 version 1.4.2 Index]