View source: R/ontology_analysis.R
cut_GO | R Documentation |
The cut_GO()
function takes a character vector of GOIDS as
input and removes the terms to a specified level in the DAG.
cut_GO(GOids, level = 2, startingnodes = c("GO:0008150", "GO:0003674", "GO:0005575"))
GOids |
character vector of GOIDs |
level |
up to which level the terms should be deleted ? Defaults to 2. |
startingnodes |
set the starting nodes. The specified level is relative to the starting nodes. The default is set to the ID representing the terms: 'BP', 'MF', 'CC'. |
The output is a truncated character vector of the entered GOIDs. The more general terms are removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.