Provides efficient methods to compute co-occurrence matrices, pointwise mutual information (PMI) and singular value decomposition (SVD). In the biomedical and clinical settings, one challenge is the huge size of databases, e.g. when analyzing data of millions of patients over tens of years. To address this, this package provides functions to efficiently compute monthly co-occurrence matrices, which is the computational bottleneck of the analysis, by using the 'RcppAlgos' package and sparse matrices. Furthermore, the functions can be called on 'SQL' databases, enabling the computation of co-occurrence matrices of tens of gigabytes of data, representing millions of patients over tens of years. Partly based on Hong C. (2021) <doi:10.1038/s41746-021-00519-z>.
Package details |
|
---|---|
Author | Thomas Charlon [aut, cre] (<https://orcid.org/0000-0001-7497-0470>), Doudou Zhou [ctb] (<https://orcid.org/0000-0002-0830-2287>), CELEHS [aut] (<https://celehs.hms.harvard.edu>) |
Maintainer | Thomas Charlon <charlon@protonmail.com> |
License | GPL-3 |
Version | 1.0.0 |
URL | https://gitlab.com/thomaschln/nlpembeds |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.