random_pibble_init: Provide random initialization for pibble model

View source: R/fido_utils.R

random_pibble_initR Documentation

Provide random initialization for pibble model

Description

Randomly initializes based on ALR transform of counts plus random pseudocounts uniformily distributed between 0 and 1.

Usage

random_pibble_init(Y)

Arguments

Y

matrix (D x N) of counts

Details

Notation: N is number of samples and D is number of multinomial categories

Value

(D-1) x N matrix

Examples

Y <- matrix(sample(1:100, 100), 10, 10)
random_pibble_init(Y)

fido documentation built on June 22, 2024, 9:36 a.m.