runMDI: Run MDI

View source: R/mdiCall.R

runMDIR Documentation

Run MDI

Description

Calls mdi++.cpp (Mason et al., 2016), the C++ implementation of Multiple Dataset Integration (Kirk et al., 2012).

Usage

runMDI(
  datasets,
  dataTypes,
  R,
  mdipp_dir = NULL,
  K = 50,
  thin = 1,
  seed = 1,
  output = NULL,
  call = TRUE
)

Arguments

datasets

A list of files as inputs to mdi++

dataTypes

A list of data types for the dataset specific mixutre models. Entries are paired with datasets and the orders should match.

mdipp_dir

The directory mdi++.cpp lives in. If mdi is saved to the PATH, then use the default of “NULL“.

K

The maximum number of clusters across all datasets in MDI.

thin

The thinning factor for the MCMC samples.

seed

The random seed controlling the algorithm.

output

The file name to save the output too; defaults to the current directory and a string capturing the datasets and parameters used.

call

Logical indicating to call the generated command.

Value

A string expressing the appropriate command line call for MDI.


stcolema/mdiHelpR documentation built on July 28, 2024, 5:41 a.m.