Description Usage Arguments See Also Examples
WARNING: this is an experimental procedure, work is still in progress.
Perform permutation tests of distances among groups for the given groups of samples and matrix of distances among all samples.
1 2 3 4 5 6 7 8 9 10 11 12 | permutDistTest(
.mat,
.groups,
.n = 1000,
.fun = mean,
.signif = 0.05,
.plot = T,
.xlab = "Values",
.title = "Monte Carlo permutation testing of overlaps",
.hjust = -0.1,
.vjust = -4
)
|
.mat |
Symmetric matrix of repertoire distances. |
.groups |
Named list with names of repertoires in groups. |
.n |
Number of permutations for each pair of group. |
.fun |
A function to apply to distances. |
.signif |
Significance level. Below this value hypotheses counts as significant. |
.plot |
If T than plot the output results. Else return them as a data frame. |
.xlab |
X lab label. |
.title |
Main title of the plot. |
.hjust |
Value for adjusting the x coordinate of p-value labels on plots. |
.vjust |
Value for adjusting the y coordinate of p-value labels on plots. |
repOverlap, intersectClonesets, ozScore, pca2euclid
1 2 3 4 5 6 7 | ## Not run:
data(twb)
mat <- repOverlap(twb)
permutDistTest(mat, list(tw1 = c('Subj.A', 'Subj.B'), tw2 = c('Subj.C', 'Subj.D')))
permutDistTest(mat, list(tw1 = c('Subj.A', 'Subj.B'), tw2 = c('Subj.C', 'Subj.D')), .fun = median)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.