Description Usage Arguments Examples
View source: R/calculate_row_col_exclusivity_weights.R
The weight for each mutation in the Row-Column-Exclusivity test cannot be calculated exactly for most use cases because there is no closed formula and a very large number of possible matrices to consider. Thus, the weights are calculated empirically from a sufficiently large number of samples of possible matrices.
1 2 | calculate_row_col_exclusivity_weights(dat, sample_col, mutgene_col,
Q = 100, quiet = TRUE)
|
dat |
tibble with mutation information |
sample_col |
column of samples names (quoted) |
mutgene_col |
column of genes that are mutated (quoted) |
Q |
number of permutation matrices to use (default is 100) |
quiet |
boolean for showing messages as run permutations (default is
|
1 2 3 4 5 | library(wext)
calculate_row_col_exclusivity_weights(dat = simple_dataset,
sample_col = sample_name,
mutgene_col = mutated_gene,
Q = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.