feature.plot: Feature Graph Plotting

Description Usage Arguments Examples

View source: R/tools.R

Description

This function allows you to plot the graph of a feature (e.g. transcription factors or tumor suppressors).

Usage

1
2
3
4
5
6
7
8
feature.plot(
  x,
  genes,
  feature,
  from = c("auto", "adjacency", "edges", "graph", "igraph", "bnlearn"),
  layout = c("circle", "star", "grid", "sphere", "nicely"),
  interactive = FALSE
)

Arguments

x

Graph object.

genes

Geneset with features.

from

Input format (optional).

layout

igraph plot layout (optional): 'grid', 'star', 'circle', 'sphere', or 'nicely'. Default: 'circle'

interactive

Interactive plot (optional). Default: FALSE

features

Feature whose graph you want to plot.

Examples

1
2
feature.plot(obj, genes, 'tf', interactive=FALSE)
feature.plot(obj, genes, 'tumor.suppressor', interactive=TRUE)

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