hmodel: Performs rjags models

Description Usage Arguments Value Examples

View source: R/hmodel.R

Description

Performs rjags models

Usage

1
2
hmodel(G, Z, cond, cont, covar.matrix = NULL, seed, n.adapt = n.adapt,
  n.chains = n.chains, n.iter = n.iter)

Arguments

cond

response variable, as numerical vector

cont

flag to consider a continuous response

covar.matrix

matrix of continuous covariates (in columns)

n.adapt

number of iterations for the adaptative phase of the hierarchical model. Default = 1000

n.iter

number of iteractions for the burn in phase or sampling of the hierarchical model. Default = 2000

g.matrix

matrix of cpgs, with samples in rows and cpgs in columns

z.matrix

matrix of functional annotations for g.matrix cpgs, with cpgs in rows and functions in columns

n.chain

number of chains of the hierarchical model. Default = 3

Value

results for a gene model

Examples

1
to be built

lnonell/HOmics documentation built on July 23, 2019, 1:10 a.m.