kangar00 (version 1.4)

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)

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

Examples

Run this code
# NOT RUN {
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