kangar00 (version 1.4.1)

rewire_network: 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 pathway
rewire_network(object, x)

Value

A pathway object including the rewired network matrix

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

Author

Juliane Manitz, Stefanie Friedrichs

Examples

Run this code
if (FALSE) {
data(hsa04020)
summary(hsa04020)
hsa04020_rewired <- rewire_network(hsa04020, x=c('ADCY3', 'CALML3','GNAQ'))
summary(hsa04020_rewired)
}

Run the code above in your browser using DataLab