gibbs_ltn: Gibbs sampler for posterior inference of LTN with sparse...

Description Usage Arguments

View source: R/gibbs.R

Description

Gibbs sampler for posterior inference of LTN with sparse Gaussian graph of nodes

Usage

1
gibbs_ltn(data = NULL, Y = NULL, YL = NULL, lambda = 10, niter, SEED = 1)

Arguments

data

phyloseq object containing OTU table and phylogenetic tree

Y

(numeric) n*d matrix of y_i(A). Y and YL will be used if the phyloseq object is not provided

YL

(numeric) n*d matrix of y_i(A_l)

lambda

shrinkage parameter in graphical lasso prior

niter

number of Gibbs iterations

SEED

random seed for initializing the parameters


MaStatLab/LTN documentation built on Feb. 4, 2022, 10:35 p.m.