createWordCloud: Create Word Cloud

Description Usage Arguments Value Examples

View source: R/createWordCloud.R

Description

Create Word Cloud

Usage

1
2
3
4
5
createWordCloud(
  oc,
  by = c("ontology_cluster", "link_community")[1],
  excludeWord = NULL
)

Arguments

oc

ontoClust object. The output of getOntoClust

by

Create the word cloud from either "ontology cluster" or "link community". Default is "ontology_cluster"

excludeWord

Words to exclude from word-cloud (e.g. regulation)

Value

A data.frame with columns "word", "freq" and "group".

Examples

1
2
3
4
5
ontology.id <- sample_data$GOBP$ID[1:50]
network <- createOntologyNetwork(ontology.id, method = "jaccard", weighted = FALSE)
lc <- getLC(network)
oc <- getOntoClust(lc)
createWordCloud(oc)

altintasali/ontoClust documentation built on Dec. 19, 2021, 1:36 a.m.