echart4r network showing top terms of topics with tooltips showing description of pathway ID
topicNW3(betaDF, topn, pws)
betaDF | topic~term probability data.frame |
---|---|
topn | top n terms of topic |
pws | named vector, pathway description with ID as names |
if (FALSE) { ldaOut <- SeuratObj@misc$ldaOut betaDF <- tidytext::tidy(ldaOut, matrix = "beta") pws <- ID2Description(SeuratObj, by = "GO") topicNW3(betaDF, topn=10, pws) }