Description Usage Arguments Examples
View source: R/calculate_weighted_row_exclusivity_weights.R
The weighted test for mutual exclusivity aims to calculate the probability of observing at least t_M mutually exclusive events given a fixed number of samples (row-sums) and a per-gene, per-sample weight matrix W. For further explanation, see the "Computing the Weighted Exclusivity Test (WExT)" vignette. This function creates the weight matrix for the test.
1 | calculate_weighted_row_exclusivity_weights(dat, sample_col, mutgene_col)
|
dat |
tibble with mutation information |
sample_col |
column of samples names (quoted) |
mutgene_col |
column of genes that are mutated (quoted) |
1 2 3 4 | library(wext)
calculate_weighted_row_exclusivity_weights(dat = simple_dataset,
sample_col = sample_name,
mutgene_col = mutated_gene)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.