rewire_network function

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

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

## 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

Returns

A pathway object including the rewired network matrix

Examples

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

Author(s)

Juliane Manitz, Stefanie Friedrichs

  • Maintainer: Juliane Manitz
  • License: GPL-2
  • Last published: 2024-05-09