create_kappa_matrix | R Documentation |
Compute the kappa matrix for enrichment results, as a measure of overlap
create_kappa_matrix(
res_enrich,
gtl = NULL,
n_gs = nrow(res_enrich),
gs_ids = NULL
)
res_enrich |
A |
gtl |
A |
n_gs |
Integer value, corresponding to the maximal number of gene sets to
be included (from the top ranked ones). Defaults to the number of rows of
|
gs_ids |
Character vector, containing a subset of |
A matrix with the kappa scores between gene sets
gs_mds()
# res_enrich object
data(res_enrich_macrophage, package = "GeneTonic")
res_enrich <- shake_topGOtableResult(topgoDE_macrophage_IFNg_vs_naive)
kmat <- create_kappa_matrix(res_enrich[1:200, ])
dim(kmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.