View source: R/application_prediction.R
prepare_ligand_receptor_visualization | R Documentation |
prepare_ligand_receptor_visualization
Prepare a matrix of ligand-receptor interactions for visualization.
prepare_ligand_receptor_visualization(
lr_network_top_df_long,
best_upstream_ligands,
order_hclust = "both"
)
lr_network_top_df_long |
A data frame with three columns, |
best_upstream_ligands |
Character vector of ligands of interest. This will only be used if |
order_hclust |
"both", "ligands", "receptors", or "none". If "both", the ligands and receptors are ordered by hierarchical clustering. If "ligands" or "receptors" only the ligands or receptors are ordered hierarchically. If "none", no hierarchical clustering is performed, and the ligands are ordered based on |
A matrix of ligand-receptor interactions for visualization.
## Not run:
ligand_receptor_network = prepare_ligand_receptor_visualization(best_upstream_ligands = best_upstream_ligands, expressed_receptors = expressed_receptors, lr_network = lr_network, weighted_networks_lr_sig = weighted_networks_lr_sig, order_hclust = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.