rewire_network: Rewires interactions in a 'pathway', which go through a gene...

rewire_networkR 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)

kangar00 documentation built on Dec. 6, 2022, 9:06 a.m.