Closed markziemann closed 3 years ago
Hey Kaumadi,
Here is the example I modified: https://towardsdatascience.com/create-a-word-cloud-with-r-bde3e7422e8a
Here is the code to make a word cloud. For this example I needed to modify the names so it would work properly for gene expression array. Your other columns might need adjustment as well.
library("wordcloud") library("RColorBrewer") library("wordcloud2") par(mar=c(1,1,1,1)) names(res) <- gsub("Gene expression array","RNA array",names(res)) wordcloud(words = names(res), freq = res, min.freq = 1, max.words=200, random.order=FALSE, rot.per=0.35, colors=brewer.pal(8, "Dark2"))
Hey Kaumadi,
Here is the example I modified: https://towardsdatascience.com/create-a-word-cloud-with-r-bde3e7422e8a
Here is the code to make a word cloud. For this example I needed to modify the names so it would work properly for gene expression array. Your other columns might need adjustment as well.