inner_net: Select edges connecting a set of nodes

Description Usage Arguments See Also Examples

Description

This is a generic function for selecting network edges connecting specified nodes. This "inner" network, where all edges connect only a set of nodes, can be contrasted to an "outer" network which contains all edges departing a set of nodes.

Usage

1
2
3
4
5
inner_net(src, ...)

## S3 method for class 'src_biogridr'
inner_net(src, genes, org = organism("cerevisiae"),
  ...)

Arguments

src

An interaction network source (e.g. the result of src_biogridr()).

...

other arguments passed to methods. For src_biogridr method, additional arguments are passed to filter.

genes

Gene identifiers (i.e. nodes).

org

NCBI organism IDs used to filter BioGRID interactions. Defaults to organism('cerevisiae').

See Also

outer_net

Examples

1
2
3
4
5
6
## Not run: 
genes <- c('CTF4', 'TOF1')
src_biogridr() %>% inner_net(genes)
src_biogridr() %>% outer_net(genes)

## End(Not run)

EricEdwardBryant/biogridr documentation built on May 6, 2019, 4:02 p.m.