Description Usage Arguments Details See Also Examples
plot_word_score
Produces a bar graph of the words with the highest tf-idf scores.
1 | plot_word_score(tfidf_vector, topn = 25, paper_title)
|
topn |
Number of top words to plot, default 25. |
tf-idf_vector |
A numeric vector of tf-idf weights that has the same number of columns as those in the abstracts DataFrame. |
title |
Title of the document that hte tf-idf vector belongs to. |
plot_word_score
Given a vector of tf-idf weights, and the title of the document the vector belongs to,
produces a bar plot of the words with the highest tf-idf weights.
get_pubmed_abstracts
append_tfidf
1 | plot_word_score(tfidf_vector,"Review of Current Machine Learning Approaches in Plant Biology",35)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.