Skip to content

ByronSyun/DIVAS_Develop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIVAS: Data Integration via Analysis of Subspaces

R-CMD-check

DIVAS Logo

Introduction

We provide R implementation of DIVAS (Prothero et al., 2024),a statistical method for multi-modal data integration. Via statistical analysis of subspaces, DIVAS identifies joint, partially shared and individual variations of multiple data blocks in a completely data driven way. In addition to providing an R implementation based on the original MATLAB implementation, we also designed visualisation tools for exploring DIVAS results.

Installation

Dependencies

The DIVAS package requires the CVXR package to be able to use optimisation solvers like SCS. We strongly recommend installing the latest stable version from CRAN.

# Install devtools (if not already installed)
install.packages("devtools")

# Install the latest version of CVXR from CRAN
# This is critical to avoid issues with solver status recognition (e.g., for SCS)
install.packages("CVXR")

Installing the DIVAS package

You can install the development version of DIVAS from GitHub using devtools:

# Install DIVAS package from the main branch on GitHub
devtools::install_github("ByronSyun/DIVAS_Develop/pkg", ref = "main")

# Or install from a local folder if you have cloned the repository
# devtools::install("path/to/DIVAS-main/pkg")

Real data examples

We provide the following examples to illustrate the use of DIVAS in different scenarios.

Dataset Brief Description Vignette Link Format Primary Reference
toyDataThreeWay.mat Synthetic 3-block data with known joint structures Toy Dataset Example .mat Prothero et al. (2024)
gnp_imputed.qs GNP economic time series data GNP Dataset Example .qs Stock & Watson (2016)
COVID-19 Multi-Omics 6-block integration: scRNA-seq (4 cell types), proteomics, metabolomics from 114 COVID-19 patient samples COVID Case Study .rds Su et al. (2020)

Developers

References

Prothero, J., et al. (2024). Data integration via analysis of subspaces (DIVAS). TEST.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3) - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors