Description Usage Arguments Details Value See Also
View source: R/animals_score.R
Calculate animal model score for each abstract to indicate possible use of animal models.
1 2 3 4 5 6 7 8 9 | calculate_score_animals(
df,
keywords = animal_keywords,
case = FALSE,
threshold = NULL,
indicate = FALSE,
discard = FALSE,
col.abstract = Abstract
)
|
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 |
threshold |
Integer. Optional. Threshold to decide if an abstract is
considered to use animal models or not. If |
indicate |
Boolean. If |
discard |
Boolean. If |
col.abstract |
Symbol. Column containing abstracts. |
Calculate animal model score for each abstract to indicate possible
use of animal models. This score is added to the data frame as an additional
column Animal_score
, containing the calculated animal model score.
To decide which abstracts are considered to contain animal models, a threshold
can be set via the threshold
argument. Furthermore, an additional
column can be added, verbally indicating the use of animal models in
an abstract.
Choosing the right threshold can be facilitated using plot_score_animals()
.
Data frame with calculated animal model scores.
If discard = FALSE
, adds extra columns
to the original data frame with the calculated animal model scores.
If discard = TRUE
, only abstracts with animal models are kept.
Other score functions:
assign_topic()
,
calculate_score_biomarker()
,
calculate_score_patients()
,
calculate_score_topic()
,
plot_score_animals()
,
plot_score_biomarker()
,
plot_score_patients()
,
plot_score_topic()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.