plot_Theta | R Documentation |
This function plots a Mutual Hazard Network by separating the diagonal entries from the off-diagonal entries.
plot_Theta(
Theta,
mutations = NULL,
full = TRUE,
sort_diag = TRUE,
to_show = NULL
)
Theta |
An n-by-n matrix representing a Mutual Hazard Network. |
mutations |
A list of mutation names, which must be unique values. If no names are given, then the mutation IDs will be used. |
full |
A boolean flag indicating whether the full MHN is shown (default: TRUE). If not, then only mutations with non-zero off-diagonal entries will be shown. |
sort_diag |
A boolean flag indicating whether the rows and columns of the MHN are sorted based on the decreasing order of the diagonal entries (default: TRUE). |
to_show |
A vector indicating which rows and columns of the MHN are shown (default: NULL). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.