Description Usage Arguments Details Value Author(s) Examples
Compute a matrix indicating the number of overlaps between groups.
1 | overlapMatrix(X, group)
|
X |
The design matrix, without an intercept, as in |
group |
A list of vectors containing group information, as in |
This function is intended to provide an interface for users to check the overlapping structure among groups.
A square (sparse) matrix C: C[i, j] is the number of overlapped variables between group i and j. Diagonal value C[i, i] is the number of variables in group i.
Yaohui Zeng <yaohui-zeng@uiowa.edu>
1 2 3 4 | data(pathway.dat)
X <- pathway.dat$expression
group <- pathway.dat$pathways
overlap.mat <- overlapMatrix(X, group)
|
Loading required package: Matrix
Loading required package: grpreg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.