get_colors_based_on_gene_ID: get_colors_based_on_gene_ID

Description Usage Arguments Value Examples

View source: R/get_layers_values.R

Description

function to get the colors based on the ID of the nodes

Usage

1
get_colors_based_on_gene_ID(data, vec_gene_ids = "None", col_nodes = "black")

Arguments

data

List of two ffdf objects (format generated by the geNet() function )

vec_gene_ids

vector of genes IDs to color. Mandatory argument.

col_nodes

color of the nodes that match the specified IDs. Default to "black".

Value

Object of class "dataframe", which reports the new colors for each node of the network

Examples

1
## Not run: get_colors_based_on_gene_ID(data,vec_gene_ids="None",col_nodes="black")

haneylab/geNet documentation built on Oct. 4, 2020, 8:40 a.m.