get_kegg_map: get_kegg_map

View source: R/get_kegg_map.R

get_kegg_mapR Documentation

get_kegg_map

Description

This function allows users to color individiul objects in KEGG pathway maps and generate the output as an PNG image.

Usage

get_kegg_map(keggids, pathwayid, bgcolor, fgcolor)

Arguments

keggids

KEGG IDs to be colored. e.g.: c("C05345","C05378")

pathwayid

KEGG pathway ID: e.g.: "map01230"

bgcolor

Vector of the size of the keggids argument to indicate background color for each object. e.g.: c("red", "green")

fgcolor

Vector of the size of the keggids argument to indicate border and text color for each object. e.g.: c("black", "blue")

Value

PNG image for the KEGG pathway with colored objects

Author(s)

Karan Uppal


yufree/xMSannotator documentation built on Oct. 31, 2022, 12:20 a.m.