Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.58 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.58 KB

R-CMD-check

MBXUCL

R package for the AHDIDA Team (ISBA, UCLouvain).

Installation

Install the package from GitHub (recommended)

Solution 1: using package devtools

if (!requireNamespace("devtools", quietly = TRUE))
  install.packages("devtools")

devtools::install_github("manonmartin/mbxucl")

Solution 2: using package remotes

if (!requireNamespace("remotes", quietly = TRUE))
  install.packages("remotes")

remotes::install_github("manonmartin/mbxucl")

Install the package from a local repository:

Solution 3: install from a local copy

#A. Install necessary dependencies ===========
install.packages(c("clValid", "phyclust", "proxy", "pls", 
    "pander", "stats","ggplot2", "reshape2", "spls", "plyr", 
    "gridExtra", "clusterSim", "modeest"))


if (!requireNamespace("BiocManager", quietly = TRUE))
  install.packages("BiocManager")
BiocManager::install("ropls")

#B. Install MBXUCL ===========

# Instructions: 
# 1. Download the MBXUCL library from https://github.com/ManonMartin/MBXUCL
# 2. Unzip the folder
# 3. Change package_path to the folder location
package_path <- "/Users/manon/Documents/MBXUCL"
# 4. Install MBXUCL
install.packages(pkgs = package_path, repos = NULL, 
                 type = "source")

/!\ package dependencies should be already available if installed from a local repository.

Load the package in R

Once installed, the package can be loaded as usual in R with library(MBXUCL).