anno_word_cloud_from_GO: Word cloud annotations from GO

View source: R/word_cloud.R

anno_word_cloud_from_GOR Documentation

Word cloud annotations from GO

Description

Word cloud annotations from GO

Usage

anno_word_cloud_from_GO(
  align_to,
  go_id,
  stat = c("pvalue", "count"),
  min_stat = ifelse(stat == "count", 5, 0.05),
  term = NULL,
  exclude_words = NULL,
  ...
)

Arguments

align_to

The same format as in anno_word_cloud.

go_id

The value should be in the same format as align_to. If go_id is a vector, it should have the same length as align_to, and if go_id is a list, note, e.g. length(go_id[[1]]) is not necessarily equal to ⁠length(align_to[[1]]⁠. If align_to is a categorical vector and go_id is a list, names of go_id should have overlap to the levels in align_to.

stat

What type of value to map to font sizes of the keywords. There are two possible values. "pvalue": enrichment is applied to keywords and -log10(p-value) is used to map to font size; "count": simply word frequency of keywords.

min_stat

Minimal value for stat for selecting keywords.

term

Alternatively the GO description can be set via the term argument. The same format as in anno_word_cloud.

exclude_words

The words excluced for construcing word cloud. Some words are internally exclucded: c("via", "protein", "factor", "side", "type", "specific").

...

All other arguments passed to anno_word_cloud.


jokergoo/simplifyGO documentation built on Sept. 18, 2024, 9:45 p.m.