Description Usage Arguments See Also Examples
Compute OZ-scores ("overlap Z scores") for values in the given matrix of overlaps, i.e.,. for each value compute the number of standart deviations from the mean of the matrix.
1 |
.mat |
Matrix with overlap values. |
.symm |
If T then remove lower triangle matrix from counting. Doesn't work if the matrix has different number of rows and columns. |
.as.matrix |
If T then return |
.val.col |
If .as.matrix is T then this is a name of the column to build matrix upon: either "oz" for the OZ-score column, "abs" for the absolute OZ-score column, or "norm" for the normalised absolute OZ-score column. |
repOverlap, intersectClonesets, permutDistTest
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
data(twb)
mat <- repOverlap(twb)
ozScore(mat)
# Take 3x3 matrix
ozScore(mat[1:3, 1:3])
# Return as matrix with OZ scores
ozmat <- ozScore(mat, T, T, 'oz')
# Return as matrix with normalised absolute OZ scores
oznorm <- ozScore(mat, T, T, 'norm')
# Plot it as boxplots
sb <- matrixSubgroups(oznorm, list(tw1 = c('Subj.A', 'Subj.B'), tw2 = c('Subj.C', 'Subj.D')));
vis.group.boxplot(sb)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.