createPandaStyle: Create a Cytoscape visual style for PANDA network

Description Usage Arguments Value Examples

View source: R/createPandaStyle.R

Description

This function is able to create a Cytoscape visual style for any PANDA network output.

Usage

1
createPandaStyle(style.name = "PandaStyle")

Arguments

style.name

Character string indicating the style name. Defaults to "PandaStyle"

Value

a visual style in Cytoscape Control Panel under "Style" button.

Examples

1
2
3
4
5
6
7
# refer to the input datasets files of control TB dataset in inst/extdat as example
control_expression_file_path <- system.file("extdata", "expr10.txt", package = "netZoo", mustWork = TRUE)
motif_file_path <- system.file("extdata", "chip.txt", package = "netZoo", mustWork = TRUE)
ppi_file_path <- system.file("extdata", "ppi.txt", package = "netZoo", mustWork = TRUE)

# Run PANDA algorithm and access PANDA output
panda.net <- runPanda(e = control_expression_file_path, m = motif_file_path, ppi = ppi_file_path, rm_missing = TRUE)$panda

twangxxx/netZoo documentation built on May 17, 2019, 1:02 p.m.