View source: R/similarity_DO.R
DO_similarity | R Documentation |
Calculate Disease Ontology (DO) semantic similarity matrix
DO_similarity(do_id, measure = "Rel", remove_orphan_terms = FALSE)
do_id |
A vector of DO IDs. |
measure |
Semantic measure for the DO similarity, pass to |
remove_orphan_terms |
Whether to remove terms that have zero similarity to all other terms? |
This function is basically a wrapper on doSim
.
A symmetric matrix.
require(DOSE)
do_id = random_DO(10)
DO_similarity(do_id)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.