View source: R/me.test.permutateSamples.R
Function to calculate a mutual exclusion p-value in a gene set. It keeps the number of alterations in a gene fixed, and permutates the samples to calculate an empirical p-value. The minimum p-value it will return is 1/n.
1 | me.test.permutateSamples(mutmat, n = 10000)
|
mutmat |
matrix, genes as rows, samples as columns |
n |
integer specifying the number of permutations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.