createTFNetwork: Create transcription factor network.

View source: R/createTFNetwork.R

createTFNetworkR Documentation

Create transcription factor network.

Description

Create and plot the transcription factor network for the selected interaction and genes. Save plot to file. Load the ggnetwork package before using this function.

Usage

createTFNetwork(
  object,
  assay.type = "RNA",
  apathways,
  grn.data,
  interactions,
  genelist,
  celltype,
  column = "celltype5"
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

apathways

list; the pathways as calculated by the activeSignaling function.

grn.data

list; the gene regulatory network as created by the buildGRN function.

interactions

character; the interactions considered in the analysis.

genelist

character vector; the genes considered in the analysis.

celltype

character; the cell type.

column

character; column corresponding to the cell type.

Value

list; the igraph transcription factor network and the plot.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.