plus-.SBGNview: Generic function to modify SBGN graph features

Description Usage Arguments Value Examples

Description

This binary operator ('+') modifies a SBGNview object(first argument) using a function (second argument)

Usage

1
2
## S3 method for class 'SBGNview'
SBGNview.obj + fn

Arguments

SBGNview.obj

An object of class SBGNview

fn

A character string. The name of any funtion that modifies and returns a SBGNview object. Some functions are available in SBGNview package: highlightPath, highlightNodes.

Value

The returned value of *fn*

Examples

1
2
3
4
5
## Not run: 
obj.new <- SBGNview.obj + highlightArcs(class = 'production',
                                        color = 'red') 

## End(Not run)

SBGNview documentation built on March 3, 2021, 2 a.m.