add_expression {crosstalkr} | R Documentation |
attach expression values from user-provided expression vector to graph.
Description
attach expression values from user-provided expression vector to graph.
Usage
add_expression(exp, g)
Arguments
exp |
expression vector - assumed to be a named vector where the values are expression and the names are the gene name |
g |
igraph object - will be filtered so that only nodes found in both exp and g are kept |
Value
subgraph of g containing only shared keys with exp and with expression attached.
[Package crosstalkr version 1.0.5 Index]