Description Usage Arguments Value Examples
Function that gets the frequency of annotation of a specific term. That is the number of genes this term is associated to divided by the maximum term annotation.
1 | get_term_freq(x, term)
|
x |
The GeneAnnotations class on which the method will run. |
term |
The term on which we want the annotation frequency. |
The term's annotations frequency
1 2 3 | kegg <- TCGAome::load_kegg()
random_kegg_term = kegg@term2gene$Term[runif(1, max = length(kegg@term2gene$Term))]
get_term_freq(kegg, random_kegg_term)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.