MCrow: MCrow

View source: R/MCrow.R

MCrowR Documentation

MCrow

Description

This function simulates MC step for a single row. Should not need to be used by user directly.

Usage

MCrow(Yi, Wi, eYi, Q, base, sigInv, MCiter, stepsize = 1)

Arguments

Yi

row of logratio matrix

Wi

corresponding row of count matrix

eYi

current expected value of logratio matrix

Q

number of OTUs, or length of Wi

base

OTU index used for base

sigInv

current estimate of sigma inverse

MCiter

number of MC samples to generate

stepsize

variance used for MH samples, defaults to 1. Tweak to adjust acceptance ratio

Author(s)

Bryan Martin


adw96/DivNet documentation built on Oct. 2, 2023, 11:49 a.m.