ModuleTFNetwork | R Documentation |
Plotting the relationships between a TF and the co-expression modules
ModuleTFNetwork(
seurat_obj,
tf_name,
tf_gene_name,
edge.alpha = 0.75,
cor_thresh = 0.25,
high_color = "red",
mid_color = "grey",
low_color = "blue",
slot = "data",
size.scale = 30,
tf_x = 0,
tf_y = 0,
wgcna_name = NULL
)
seurat_obj |
A Seurat object |
tf_name |
the Motif name for the tf |
tf_gene_name |
the gene associated with this tf in the rownames(seurat_obj) |
edge.alpha |
scaling factor for edge opacity in the network |
cor_thresh |
threshold to plot correlation edges between modules |
high_color |
color for positive correlation |
mid_color |
color for zero correlation |
low_color |
color for negative correlation |
slot |
the slot in the seurat object to extract expression data for the tf_gene_name |
size.scale |
scaling factor for the size of each node |
tf_x |
x coordinate for the TF if the TF is not found in the UMAP |
tf_y |
y coordinate for the TF if the TF is not foudn in the UMAP |
wgcna_name |
the name of the WGCNA experiment in the seurat object |
ModuleTFNetwork
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.