show_gene_expression: Plot gene expressions in cytoscape

Description Usage Arguments Value

View source: R/interactive_scatterplot.R

Description

Given a gene expressions, plot the associated reaction activities to cytoscape. This function is a wrapper around show_reaction_activities and gene2rxn

Usage

1
show_gene_expression(model, expressions, cw, attribute = "activity")

Arguments

model

a sybil model with valid react_ids

expressions

a vector of gene expression values, length equal to length(model@allGenes)

cw

a cytoscape window

attribute

the cytoscape attribute to be set

Value

silently returns the activities of the reactions as a named vector, but mainly used for the side effect of setting the 'activity' attribute in cytoscape.


maxconway/metabex documentation built on May 21, 2019, 1:39 p.m.