subset.dnapath_list: Subset function for 'dnapath_list' object.

Description Usage Arguments Value

View source: R/dna.R

Description

Subset function for 'dnapath_list' object.

Usage

1
2
## S3 method for class 'dnapath_list'
subset(x, pathways = NULL, genes = NULL, ...)

Arguments

x

A 'dnapath_list' object.

pathways

A set of pathways to index on. This can be (1) a vector of character strings, corresponding to pathway names or regular expressions used to find pathways, (2) a vector of indices to select pathways, (3) a vector of negative indices indicating pathways to remove, or (4) a logical (boolean) vector that is the same length of current number of pathways in x.

genes

A set of gene names to index on; exact matching is used. Only pathways containing these genes are retained.

...

Additional arguments are ignored.

Value

A subset of the differential network analysis results.


tgrimes/dnapath2 documentation built on May 21, 2020, 5:53 p.m.