bfrm-methods: Bayesian Factor Regression Modeling (bfrm)

Description Methods Value See Also

Description

Runs an executable program released by West et al and available here (). Writes out temporary files, passes them to an executable, and reads summary files back into R. Temporary files are discarded once the R session is terminated unless specified otherwise.

Methods

signature(data = "matrix", ...)
data

numeric matrix with one row per predictor and one column per observation / sample / patient to be passed to the bfrm algorithm

...

optional arguments, including:

design

design argument(s) to be passed to the bfrm algorithm

control

control argument(s) to be passed to the bfrm algorithm (i.e. "assay artifact" variables)

burnin

number of burn-in iterations in the MCMC – default is 2000

nmcsamples

number of MCMC iterations – default is 5000

outputDir

directory for output text files to be stored - default is withing a temporary directory which will be deleted once the R session is terminated.

other

named arguments overwriting of defaults specified in the slots of class bfrmParam - only for advanced users.

Value

Return value is of class bfrmResult

See Also

model classes

bfrmModel, evolveModel

methods

evolve, projection

model results

bfrmResult


Sage-Bionetworks/bfrm documentation built on May 9, 2019, 12:11 p.m.