word cloud of top terms of topic

wordcloud_topic(betaDF, pws, topic, topn = 20)

wordcloud_topic_3D(betaDF, pws, topic, topn = 20)

Arguments

betaDF

topic~term probability data.frame

pws

named vector, pathway description with ID as names

topic

topic to draw

topn

top n terms of topic

Examples

if (FALSE) { ldaOut <- SeuratObj@misc$ldaOut betaDF <- tidytext::tidy(ldaOut, matrix = "beta") pws <- ID2Description(SeuratObj, by = "GO") wordcloud_topic(betaDF, pws, topic=1, topn=20) wordcloud_topic_3D(betaDF, pws, topic=1, topn=20) }