Description Usage Arguments Details Value Examples
Calculate word frequency
1 | count_word(go_id, term = NULL, exclude_words = NULL)
|
go_id |
A vector of GO IDs. |
term |
The corresponding names or description of terms if the input are not GO terms. |
exclude_words |
The words that should be excluded. |
The input can be simply set with a vector of GO id to go_id
argument that the GO names
are automatically extracted. If the input are not GO terms, users need to provide a vector of long names/descriptions by term
argument.
If the input is GO id, the following words are excluded: c("via", "protein", "factor", "side", "type", "specific")
.
They are analyzed by simplifyEnrichment:::all_GO_word_count()
.
The text preprocessing followings the instructions from http://www.sthda.com/english/wiki/word-cloud-generator-in-r-one-killer-function-to-do-everything-you-need .
A data frame with words and frequencies.
1 2 | go_id = random_GO(500)
head(count_word(go_id))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.