plot_score_patients.RdPlot frequency of patient scores in abstracts.
plot_score_patients( df, keywords = patients_keywords, case = FALSE, bins = NULL, colour = "steelblue3", col.abstract = Abstract, col.pmid = PMID, title = NULL )
| df | Data frame containing abstracts. |
|---|---|
| keywords | Character vector. Vector containing keywords. The score is
calculated based on these keywords. How much weight a keyword in |
| case | Boolean. If |
| bins | Integer. Specifies how many bins are used to plot
the distribution. If |
| colour | String. Colour of histogram. |
| col.abstract | Symbol. Column containing abstracts. |
| col.pmid | Symbol. Column containing PubMed-IDs. |
| title | String. Plot title. |
Histogram displaying the distribution of patient scores in abstracts.
Plots a frequency distribution of patient scores in abstracts of a
data frame. The patient score is influenced by the choice of
terms in keywords.
Plotting the distribution can help deciding if the
terms are well-chosen, or in choosing the right threshold to decide
which abstracts are considered to contain patient material
Other score functions:
assign_topic(),
calculate_score_animals(),
calculate_score_biomarker(),
calculate_score_patients(),
calculate_score_topic(),
plot_score_animals(),
plot_score_biomarker(),
plot_score_topic()