valid_entities | R Documentation |
This function applies validation to ensure only legitimate biomedical entities are included, while preserving trusted terms.
valid_entities(
entities,
primary_term,
primary_term_variations = NULL,
validation_function = NULL,
verbose = TRUE,
entity_col = "entity",
type_col = "entity_type"
)
entities |
Data frame of entities to filter |
primary_term |
The primary term to trust |
primary_term_variations |
Vector of variations of the primary term to trust |
validation_function |
Function to validate entities (default: is_valid_biomedical_entity) |
verbose |
Logical; if TRUE, print status messages (default: TRUE) |
entity_col |
Name of the column containing entity names (default: "entity") |
type_col |
Name of the column containing entity types (default: "entity_type") |
A data frame of filtered entities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.