plot_pathways_w_sampling | R Documentation |
This function takes a Mutual Hazard Network as input and plot the most probable mutational pathways before a sampling event.
plot_pathways_w_sampling(
Theta,
mutations,
top_M = 10,
lambda_s = 1,
mutation_colors = NULL,
prob_digits = 2,
full = FALSE
)
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. |
top_M |
Number of most probable pathways to plot (Default: 10). |
lambda_s |
Sampling rate (Default: 1) |
mutation_colors |
A named vector with the color codes for all mutations (Default: NULL) |
prob_digits |
Number of digits to show for the probabilities (Default: 2) |
full |
A boolean flag indicating whether the full MHN is used. If false, then only mutations with non-zero off-diagonal entries will be used (default: FALSE). |
Xiang Ge Luo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.