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

+.SBGNviewR Documentation

Generic function to modify SBGN graph features

Description

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

Usage

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

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

## End(Not run)

datapplab/SBGNview documentation built on June 20, 2022, 9:55 p.m.