plot_one_module {FCBF}R Documentation

plot_one_module

Description

Takes as input an adjacency matrix from the find_modules function (output = "matrix") an a list of hubs (FCBF - selected) (Networks are inspired in the CEMiTool package networks) And returns a pdf plotting the modules with their connections

Usage

plot_one_module(adjacency_matrix, name, color = "#B30000FF", n = 10)

Arguments

adjacency_matrix

An adjacency matrix from the find modules function (dataframe with a 'genes' column)

name

The name of the plot.

color

The color of the plot. Defaults to a shade of red ("#B30000FF").

n

The max number of gene labels to show. Defaults to 10.

genes

A character vector with the FCBF selected genes

Value

A gg object


[Package FCBF version 1.2.5 Index]