MCrow: MCrow

Description Usage Arguments

View source: R/MCrow.R

Description

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

Usage

1
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 minus the base, or length of Yi

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


bryandmartin/MicrobiomePack documentation built on May 25, 2019, 3:25 p.m.