drugs.plot: Drug-Gene Interactions Plotting

Description Usage Arguments Examples

View source: R/tools.R

Description

This function allows you to visualize the interaction of a selected gene with drugs and other genes.

Usage

1
2
3
4
5
6
7
8
drugs.plot(
  x,
  drugs,
  gene,
  neighbors = TRUE,
  from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn"),
  interactive = FALSE
)

Arguments

x

Graph object.

drugs

Geneset with drug-gene interactions.

gene

Gene whose drug interactions you want to explore.

neighbors

Whether or not to draw neighboring genes. Default: TRUE

from

Input format (optional).

interactive

Interactive plot (optional). Default: FALSE

Examples

1
drugs.plot(g, 3, 'Bax')

rlebron-bioinfo/gnlearn documentation built on July 25, 2020, 12:38 p.m.