getPi: Returns the matrix of probabilities of zero

getPiR Documentation

Returns the matrix of probabilities of zero

Description

Given an object that describes a matrix of zero-inflated distributions, returns the matrix of probabilities of 0.

Usage

getPi(object)

Arguments

object

an object that describes a matrix of zero-inflated distributions.

Details

Note that although the user interface of zinbFit requires a J x n matrix, internally this is stored as a n x J matrix (i.e., samples in row and genes in column). Hence the parameter matrix returned by this function is of n x J dimensions.

Value

the matrix of probabilities of 0

Examples

a <- zinbModel(n=5, J=10)
getPi(a)

drisso/zinbwave documentation built on March 18, 2024, 5:13 p.m.