calc_study_dist_dtm: Calculate study distance based on summary text

View source: R/calculate_related_studies.R

calc_study_dist_dtmR Documentation

Calculate study distance based on summary text

Description

There are different measures of similarity; this gives cosine similarity based on summary text, which is then converted to a distance matrix. In the future, other methods may be used for comparison or in ensemble.

Usage

calc_study_dist_dtm(studies)

Arguments

studies

A data.frame where each row is a "document"; should have summary and studyId.


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.