Learn R Programming

OmicNavigator (version 1.16.0)

installStudy: Install a study as an R package

Description

Install a study as an R package

Usage

installStudy(study, requireValid = TRUE, library = .libPaths()[1])

Value

Invisibly returns the original onStudy object that was passed to the argument study

Arguments

study

An OmicNavigator study to install (class onStudy)

requireValid

Require that study is valid before installing (passed to exportStudy, which runs validateStudy)

library

Directory to install package. Defaults to first directory returned by .libPaths.

Details

Note that installStudy is only intended for directly installing an OmicNavigator study object loaded in your current R session. If you have already exported your study to a package tarball via exportStudy, then you can install it with install.packages, for example:


  tarball <- exportStudy(myStudy)
  install.packages(tarball, repos = NULL)